We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 023e6e6 commit fc2552fCopy full SHA for fc2552f
apps/web/utils/web-api.ts
@@ -8,7 +8,7 @@ export function useApiClient() {
8
const { webUrl } = usePublicEnv();
9
const [client] = useState(() =>
10
initClient(contract, {
11
- baseUrl: typeof window !== "undefined" ? `${webUrl}/api` : "/api",
+ baseUrl: typeof window === "undefined" ? `${webUrl}/api` : "/api",
12
})
13
);
14
0 commit comments