File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ function AppContent() {
24
24
const { LoggedInUser } = useContext ( CurrentUserContext ) ;
25
25
const { participant } = useContext ( ParticipantContext ) ;
26
26
const isLocalDev = process . env . NODE_ENV === 'development' ;
27
- const location = useLocation ( ) ;
28
27
29
28
if ( LoggedInUser ?. user ?. participants ! . length === 0 ) {
30
29
return < ErrorView message = 'You do not have access to any participants.' /> ;
Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ function CurrentUserProvider({ children }: Readonly<{ children: ReactNode }>) {
21
21
const { keycloak } = useKeycloak ( ) ;
22
22
const [ isLoading , setIsLoading ] = useState < boolean > ( true ) ;
23
23
const [ LoggedInUser , SetLoggedInUser ] = useState < UserAccount | null > ( null ) ;
24
- const location = useLocation ( ) ;
25
- const navigate = useNavigate ( ) ;
26
24
const throwError = useAsyncThrowError ( ) ;
27
25
28
26
const loadUser = useCallback ( async ( ) => {
You can’t perform that action at this time.
0 commit comments