Skip to content

Commit a6e026d

Browse files
remove unused variables
1 parent aa9f4d1 commit a6e026d

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/web/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ function AppContent() {
2424
const { LoggedInUser } = useContext(CurrentUserContext);
2525
const { participant } = useContext(ParticipantContext);
2626
const isLocalDev = process.env.NODE_ENV === 'development';
27-
const location = useLocation();
2827

2928
if (LoggedInUser?.user?.participants!.length === 0) {
3029
return <ErrorView message='You do not have access to any participants.' />;

src/web/contexts/CurrentUserProvider.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ function CurrentUserProvider({ children }: Readonly<{ children: ReactNode }>) {
2121
const { keycloak } = useKeycloak();
2222
const [isLoading, setIsLoading] = useState<boolean>(true);
2323
const [LoggedInUser, SetLoggedInUser] = useState<UserAccount | null>(null);
24-
const location = useLocation();
25-
const navigate = useNavigate();
2624
const throwError = useAsyncThrowError();
2725

2826
const loadUser = useCallback(async () => {

0 commit comments

Comments
 (0)