We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6646e74 commit a5047e0Copy full SHA for a5047e0
1 file changed
client/src/routes/admin.tsx
@@ -15,7 +15,7 @@ import type { Route } from "./+types/admin";
15
16
export async function loader({ context }: Route.LoaderArgs) {
17
const store = context.get(storeContext);
18
- const clientSideFetch = true || store == null || process.env.CYPRESS === "1";
+ const clientSideFetch = store == null || process.env.CYPRESS === "1";
19
if (clientSideFetch) {
20
//? In testing, we load the user data client-side
21
return data({
0 commit comments