Prevent query returning undefined value (#9847)

This commit is contained in:
Oliver 2025-06-25 06:53:39 +10:00 committed by GitHub
parent 0b451dc085
commit f1482aaa28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ export function useGenerator(props: GeneratorProps): GeneratorState {
if (!isEnabled()) {
setResult(null);
return;
return null;
}
return api