diff --git a/app/soapbox/features/landing_page/components/registration_form.js b/app/soapbox/features/landing_page/components/registration_form.js index 7a2ada78a..3490e8a50 100644 --- a/app/soapbox/features/landing_page/components/registration_form.js +++ b/app/soapbox/features/landing_page/components/registration_form.js @@ -93,11 +93,32 @@ class RegistrationForm extends ImmutablePureComponent { render() { const { instance, intl } = this.props; + const isOpen = instance.get('registrations'); const isLoading = this.state.captchaLoading || this.state.submissionLoading; + if (isOpen === false) { + return ( +
+

+ +

+
+ {instance.get('title')} }} + /> +
+
+ ); + } + return ( -
+