diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-08 11:48:09 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-08 11:48:09 -0700 |
commit | 2352071211b61c10fa5bf5736baaff7809d18bf0 (patch) | |
tree | 743e4adc1cc35fb3585b912daaa8719ae5757f60 /modern/src/login | |
parent | 044733ff543156d76437daae8edb66850d785ac9 (diff) | |
download | trackermap-web-2352071211b61c10fa5bf5736baaff7809d18bf0.tar.gz trackermap-web-2352071211b61c10fa5bf5736baaff7809d18bf0.tar.bz2 trackermap-web-2352071211b61c10fa5bf5736baaff7809d18bf0.zip |
Organize common code
Diffstat (limited to 'modern/src/login')
-rw-r--r-- | modern/src/login/LoginPage.js | 2 | ||||
-rw-r--r-- | modern/src/login/RegisterPage.js | 2 | ||||
-rw-r--r-- | modern/src/login/ResetPasswordPage.js | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/modern/src/login/LoginPage.js b/modern/src/login/LoginPage.js index 64570b24..d89ccd73 100644 --- a/modern/src/login/LoginPage.js +++ b/modern/src/login/LoginPage.js @@ -10,7 +10,7 @@ import { useHistory } from 'react-router-dom'; import { sessionActions } from '../store'; import { useLocalization, useTranslation } from '../LocalizationProvider'; import LoginLayout from './LoginLayout'; -import usePersistedState from '../common/usePersistedState'; +import usePersistedState from '../common/util/usePersistedState'; const useStyles = makeStyles((theme) => ({ legacy: { diff --git a/modern/src/login/RegisterPage.js b/modern/src/login/RegisterPage.js index f622f679..6f252b1a 100644 --- a/modern/src/login/RegisterPage.js +++ b/modern/src/login/RegisterPage.js @@ -6,7 +6,7 @@ import { useHistory } from 'react-router-dom'; import ArrowBackIcon from '@material-ui/icons/ArrowBack'; import LoginLayout from './LoginLayout'; import { useTranslation } from '../LocalizationProvider'; -import { snackBarDurationShortMs } from '../common/duration'; +import { snackBarDurationShortMs } from '../common/util/duration'; const useStyles = makeStyles((theme) => ({ title: { diff --git a/modern/src/login/ResetPasswordPage.js b/modern/src/login/ResetPasswordPage.js index 27c30763..86a289ee 100644 --- a/modern/src/login/ResetPasswordPage.js +++ b/modern/src/login/ResetPasswordPage.js @@ -6,8 +6,8 @@ import { useHistory } from 'react-router-dom'; import ArrowBackIcon from '@material-ui/icons/ArrowBack'; import LoginLayout from './LoginLayout'; import { useTranslation } from '../LocalizationProvider'; -import useQuery from '../common/useQuery'; -import { snackBarDurationShortMs } from '../common/duration'; +import useQuery from '../common/util/useQuery'; +import { snackBarDurationShortMs } from '../common/util/duration'; const useStyles = makeStyles((theme) => ({ title: { |