Prevent query returning undefined value (#9847)

This commit is contained in:
Oliver authored and GitHub committed 2025-06-25 06:53:39 +10:00
1 parent 0b451dc085
commit f1482aaa28
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@ export function useGenerator(props: GeneratorProps): GeneratorState {
if (!isEnabled()) {
setResult(null);
return;
return null;
}
return api