-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0c4f50
commit 20ee5a3
Showing
5 changed files
with
170 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
const general = { | ||
TRES_TOKEN: "oc62XD7C", | ||
TRES_TOKEN: 'q87nfWyQ', | ||
MAX_TITLE_LENGTH: 50, | ||
MAX_BODY_LENGTH: 5000, | ||
CABINET_POPUP_WIDTH: 600, | ||
CABINET_POPUP_HEIGHT: 600, | ||
}; | ||
} | ||
|
||
export { general }; | ||
export { general } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 12 additions & 12 deletions
24
src/layouts/MainLayout/components/Header/components/AuthZone/AuthZone.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
import { FC } from "react"; | ||
import { FC } from 'react' | ||
|
||
import Box from "@mui/material/Box"; | ||
import Box from '@mui/material/Box' | ||
|
||
import { AuthActions } from "./components/AuthActions"; | ||
import { NoAuthActions } from "./components/NoAuthActions"; | ||
import { AuthActions } from './components/AuthActions' | ||
import { NoAuthActions } from './components/NoAuthActions' | ||
|
||
import { useAuth } from "context/AuthContext/AuthContext"; | ||
import { useAuth } from 'context/AuthContext/AuthContext' | ||
|
||
const AuthZone: FC = () => { | ||
const { isAuth } = useAuth(); | ||
const { isAuth } = useAuth() | ||
|
||
return ( | ||
<Box | ||
sx={{ | ||
display: "flex", | ||
alignItems: "center", | ||
gap: 3, | ||
display: 'flex', | ||
alignItems: 'center', | ||
gap: 2, | ||
}} | ||
> | ||
{isAuth ? <AuthActions /> : <NoAuthActions />} | ||
</Box> | ||
); | ||
}; | ||
) | ||
} | ||
|
||
export { AuthZone }; | ||
export { AuthZone } |
Oops, something went wrong.