diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-02 20:44:13 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-02 20:44:13 -0700 |
commit | 8d953869da0b79941987ab1dc6eb00e643ee5d81 (patch) | |
tree | 30247cb60ef6b7577224b5e74df52c7c23b2d011 /modern/src/components/registration | |
parent | e07d5ff079527da0c07c4f8ede0aaef272517393 (diff) | |
download | trackermap-web-8d953869da0b79941987ab1dc6eb00e643ee5d81.tar.gz trackermap-web-8d953869da0b79941987ab1dc6eb00e643ee5d81.tar.bz2 trackermap-web-8d953869da0b79941987ab1dc6eb00e643ee5d81.zip |
Move localization provider
Diffstat (limited to 'modern/src/components/registration')
-rw-r--r-- | modern/src/components/registration/LoginForm.js | 2 | ||||
-rw-r--r-- | modern/src/components/registration/RegisterForm.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/components/registration/LoginForm.js b/modern/src/components/registration/LoginForm.js index 9b5ca3ed..c3081d90 100644 --- a/modern/src/components/registration/LoginForm.js +++ b/modern/src/components/registration/LoginForm.js @@ -6,7 +6,7 @@ import { useTheme } from '@material-ui/core/styles'; import { useDispatch, useSelector } from 'react-redux'; import { useHistory } from 'react-router-dom'; import { sessionActions } from '../../store'; -import t, { useLocalization } from '../../common/localization'; +import t, { useLocalization } from '../../LocalizationProvider'; import StartPage from '../../StartPage'; const useStyles = makeStyles((theme) => ({ diff --git a/modern/src/components/registration/RegisterForm.js b/modern/src/components/registration/RegisterForm.js index 06f53551..2d7fa6f9 100644 --- a/modern/src/components/registration/RegisterForm.js +++ b/modern/src/components/registration/RegisterForm.js @@ -5,7 +5,7 @@ import { import { useHistory } from 'react-router-dom'; import ArrowBackIcon from '@material-ui/icons/ArrowBack'; import StartPage from '../../StartPage'; -import t from '../../common/localization'; +import t from '../../LocalizationProvider'; const useStyles = makeStyles((theme) => ({ register: { |