diff --git a/front/app/_layout.tsx b/front/app/_layout.tsx index 912f21b3..169fead4 100644 --- a/front/app/_layout.tsx +++ b/front/app/_layout.tsx @@ -1,5 +1,6 @@ import { ReactQueryDevtools } from "@tanstack/react-query-devtools"; -import { Slot, useServerHeadInsertion } from "one"; +import { Slot, useServerHeadInsertion } from "one"; +import { Platform } from "react-native"; import { StyleRegistryProvider, createStyleRegistry } from "yoshiki/web"; import { Providers } from "~/providers"; @@ -80,7 +81,7 @@ export default function Layout() { - + {Platform.OS === "web" && } diff --git a/front/src/providers/account-provider.tsx b/front/src/providers/account-provider.tsx index dafc8f8f..de7ed9c3 100644 --- a/front/src/providers/account-provider.tsx +++ b/front/src/providers/account-provider.tsx @@ -43,7 +43,6 @@ export const AccountProvider = ({ children }: { children: ReactNode }) => { authToken: ret.authToken?.access_token, }, }); - console.log(user); // Use a ref here because we don't want the effect to trigger when the selected // value has changed, only when the fetch result changed // If we trigger the effect when the selected value change, we enter an infinite render loop