Skip to content

Commit 47d5daf

Browse files
committed
Fix an omitted type annotation
1 parent 074beec commit 47d5daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/material/src/complex/MaterialArrayControlRenderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { DeleteDialog } from './DeleteDialog';
3131

3232
export const MaterialArrayControlRenderer = (props: ArrayLayoutProps) => {
3333
const [open, setOpen] = useState(false);
34-
const [path, setPath] = useState(undefined);
34+
const [path, setPath] = useState<string[]>(undefined);
3535
const [rowData, setRowData] = useState(undefined);
3636
const { removeItems, visible } = props;
3737

0 commit comments

Comments
 (0)