fix: return the loader after redirect (#37432)
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
This commit is contained in:
committed by
mrugesh
parent
afeb476818
commit
9337d6ad82
@@ -162,14 +162,13 @@ export function ShowSettings(props) {
|
||||
}
|
||||
|
||||
if (!showLoading && !isSignedIn) {
|
||||
return navigate(`${apiLocation}/signin?returnTo=settings`);
|
||||
navigate(`${apiLocation}/signin?returnTo=settings`);
|
||||
return <Loader fullScreen={true} />;
|
||||
}
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
<Helmet>
|
||||
<title>Settings | freeCodeCamp.org</title>
|
||||
</Helmet>
|
||||
<Helmet title='Settings | freeCodeCamp.org'></Helmet>
|
||||
<Grid>
|
||||
<main>
|
||||
<Spacer size={2} />
|
||||
|
Reference in New Issue
Block a user