mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
QQQ-32: export at bottom to match everything else
This commit is contained in:
@ -7,7 +7,7 @@ interface Props
|
|||||||
errorMessage?: string;
|
errorMessage?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function HandleAuthorizationError({errorMessage}: Props)
|
function HandleAuthorizationError({errorMessage}: Props)
|
||||||
{
|
{
|
||||||
const [, , removeCookie] = useCookies([SESSION_ID_COOKIE_NAME]);
|
const [, , removeCookie] = useCookies([SESSION_ID_COOKIE_NAME]);
|
||||||
|
|
||||||
@ -24,3 +24,5 @@ export default function HandleAuthorizationError({errorMessage}: Props)
|
|||||||
HandleAuthorizationError.defaultProps = {
|
HandleAuthorizationError.defaultProps = {
|
||||||
errorMessage: "User authorization error.",
|
errorMessage: "User authorization error.",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export default HandleAuthorizationError;
|
||||||
|
Reference in New Issue
Block a user