Skip to content

Commit fc2552f

Browse files
committed
fix useApiClient
1 parent 023e6e6 commit fc2552f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/utils/web-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function useApiClient() {
88
const { webUrl } = usePublicEnv();
99
const [client] = useState(() =>
1010
initClient(contract, {
11-
baseUrl: typeof window !== "undefined" ? `${webUrl}/api` : "/api",
11+
baseUrl: typeof window === "undefined" ? `${webUrl}/api` : "/api",
1212
})
1313
);
1414

0 commit comments

Comments
 (0)