summaryrefslogtreecommitdiff
path: root/client/src/slices/auth
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/slices/auth')
-rw-r--r--client/src/slices/auth/adminSlice.ts4
-rw-r--r--client/src/slices/auth/guestSlice.ts4
2 files changed, 2 insertions, 6 deletions
diff --git a/client/src/slices/auth/adminSlice.ts b/client/src/slices/auth/adminSlice.ts
index cc2205e..3007059 100644
--- a/client/src/slices/auth/adminSlice.ts
+++ b/client/src/slices/auth/adminSlice.ts
@@ -23,7 +23,5 @@ const adminSlice = createSlice({
});
export const { setAdmin } = adminSlice.actions;
-
-export default adminSlice.reducer;
-
export const selectGuests = (state: RootState) => state.admin.guests;
+export default adminSlice.reducer;
diff --git a/client/src/slices/auth/guestSlice.ts b/client/src/slices/auth/guestSlice.ts
index fb4afaf..238781f 100644
--- a/client/src/slices/auth/guestSlice.ts
+++ b/client/src/slices/auth/guestSlice.ts
@@ -23,7 +23,5 @@ const guestSlice = createSlice({
});
export const { setGuest } = guestSlice.actions;
-
-export default guestSlice.reducer;
-
export const selectGuest = (state: RootState) => state.guest.guest;
+export default guestSlice.reducer;