Showing
2 changed files
with
1 additions
and
2 deletions
| ... | @@ -3,7 +3,6 @@ import { makeStyles } from '@material-ui/core/styles'; | ... | @@ -3,7 +3,6 @@ import { makeStyles } from '@material-ui/core/styles'; |
| 3 | import Paper from '@material-ui/core/Paper'; | 3 | import Paper from '@material-ui/core/Paper'; |
| 4 | import Grid from '@material-ui/core/Grid'; | 4 | import Grid from '@material-ui/core/Grid'; |
| 5 | import palette from '../../lib/styles/palette'; | 5 | import palette from '../../lib/styles/palette'; |
| 6 | -import AuthForm from '../auth/AuthForm'; | ||
| 7 | const useStyles = makeStyles((theme) => ({ | 6 | const useStyles = makeStyles((theme) => ({ |
| 8 | root: { | 7 | root: { |
| 9 | flexGrow: 1, | 8 | flexGrow: 1, | ... | ... |
| ... | @@ -75,7 +75,7 @@ const SettingContainer = ({ history }) => { | ... | @@ -75,7 +75,7 @@ const SettingContainer = ({ history }) => { |
| 75 | } | 75 | } |
| 76 | }, [dispatch, user, history]); | 76 | }, [dispatch, user, history]); |
| 77 | useEffect(() => { | 77 | useEffect(() => { |
| 78 | - if (loading['profile/SYNC_BJID'] == true) { | 78 | + if (loading['profile/SYNC_BJID'] === true) { |
| 79 | setLoading(true); | 79 | setLoading(true); |
| 80 | } else { | 80 | } else { |
| 81 | setLoading(false); | 81 | setLoading(false); | ... | ... |
-
Please register or login to post a comment