We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5047e0 commit 2a6d626Copy full SHA for 2a6d626
1 file changed
client/src/routes/admin.tsx
@@ -32,9 +32,6 @@ export async function loader({ context }: Route.LoaderArgs) {
32
const selector = endpoint.select();
33
const { data: selfUser, error } = selector(store.getState());
34
store.dispatch(usersApi.util.resetApiState());
35
-
36
- console.log({ selfUser, error });
37
38
if (
39
error != null ||
40
selfUser == null ||
@@ -44,7 +41,6 @@ export async function loader({ context }: Route.LoaderArgs) {
44
41
// Return 404 - not found
45
42
return data({ clientSideFetch, selfUser, error }, 404);
46
43
}
47
48
return data({ clientSideFetch, selfUser, error });
49
50
0 commit comments