weige 2 months ago
parent
commit
83580d7af2
  1. 6
      src/hooks/useSelectedModelSchema.ts

6
src/hooks/useSelectedModelSchema.ts

@ -103,7 +103,13 @@ export function useSelectedModelSchema({
}); });
return () => { return () => {
if (abortRef.current === controller) {
controller.abort(); controller.abort();
abortRef.current = null;
requestKeyRef.current = null;
} else {
controller.abort();
}
}; };
}, [ }, [
enabled, enabled,

Loading…
Cancel
Save