src/contexts/AuthContext.jsx
Function useAuth
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function useAuth() {
const { setColorMode } = useColorMode();
const { i18n } = useTranslation();
const [isAuth, setIsAuth] = useState(KeyCloakService.IsAuthenticated);
- Create a ticketCreate a ticket