diff --git a/interface/src/AppRouting.tsx b/interface/src/AppRouting.tsx index 0fbde8ea2..b71c9eba2 100644 --- a/interface/src/AppRouting.tsx +++ b/interface/src/AppRouting.tsx @@ -14,7 +14,6 @@ import AuthenticatedRouting from 'AuthenticatedRouting'; interface SecurityRedirectProps { message: string; - // variant?: VariantType; signOut?: boolean; } @@ -22,8 +21,7 @@ const RootRedirect: FC = ({ message, signOut }) => { const authenticationContext = useContext(AuthenticationContext); useEffect(() => { signOut && authenticationContext.signOut(false); - // TODO toast variant - toast.error(message); + toast.success(message); }, [message, signOut, authenticationContext]); return ; };