Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gtarpenning committed Dec 10, 2024
1 parent d0ac225 commit 1f413f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const NestedForm: React.FC<{
hideLabel,
autoFocus,
}) => {
const currentPath = [...path, keyName];
const currentPath = useMemo(() => [...path, keyName], [path, keyName]);
const [currentValue, setCurrentValue] = useState(
getNestedValue(config, currentPath)
);
Expand Down

0 comments on commit 1f413f3

Please sign in to comment.