remove unused statements (#11949)

This commit is contained in:
Matthias Mair 2026-05-15 23:57:33 +02:00 committed by GitHub
parent e3a22762e8
commit 038dcc9c74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 12 deletions

View File

@ -111,17 +111,6 @@ export function TableField({
field.onChange(val);
};
const fieldDefinition = useMemo(() => {
return {
...definition,
modelRenderer: undefined,
onValueChange: undefined,
adjustFilters: undefined,
read_only: undefined,
addRow: undefined
};
}, [definition]);
// Extract errors associated with the current row
const rowErrors: any = useCallback(
(idx: number) => {

View File

@ -73,7 +73,7 @@ export function useGenerator(props: GeneratorProps): GeneratorState {
);
// API query handler
const queryGenerator = useQuery({
useQuery({
enabled: true,
queryKey: [
'generator',