remove unused statements (#11949)
This commit is contained in:
parent
e3a22762e8
commit
038dcc9c74
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ export function useGenerator(props: GeneratorProps): GeneratorState {
|
|||
);
|
||||
|
||||
// API query handler
|
||||
const queryGenerator = useQuery({
|
||||
useQuery({
|
||||
enabled: true,
|
||||
queryKey: [
|
||||
'generator',
|
||||
|
|
|
|||
Loading…
Reference in New Issue