Skip to content

Commit dc2dfd1

Browse files
Remove debug log from useSyncExternalStore in use-shared-function.ts
1 parent 0602b7b commit dc2dfd1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/hooks/use-shared-function.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ export const useSharedFunction = <T, Args extends unknown[], S extends string =
7979
const entry = sharedFunctionsData.get(key, prefix)!;
8080
if (!force && (entry.fnState.isLoading || entry.fnState.results !== undefined)) return entry.fnState;
8181
entry.fnState = { ...entry.fnState, isLoading: true, error: undefined };
82-
console.log(sharedFunctionsData.get(key, prefix)?.fnState.isLoading);
8382
entry.listeners.forEach(l => l());
8483
try {
8584
const results: Awaited<T> = await fn(...args);

0 commit comments

Comments
 (0)