{
error={error}
/>
- { AppConfig.isRecaptcha2Enabled() &&
+ {AppConfig.isRecaptcha2Enabled() &&
setCaptcha(el)}
@@ -157,8 +157,13 @@ const RegistrationForm = () => {
};
const RegistationPage = (): React.ReactElement => {
+ const intl = useIntl();
+
useEffect(() => {
- document.title = 'Registration | WiseMapping';
+ document.title = intl.formatMessage({
+ id: 'registration.title',
+ defaultMessage: 'Registration | WiseMapping',
+ });
});
return (