Skip to content

Commit 216f029

Browse files
authored
Fix bug: caching of incorrect recursive record count. (#339)
1 parent 3c822fd commit 216f029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/components/edit/DeleteObjectButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const DeleteObjectButton = ({ pid }: DeleteObjectButtonProps): React.ReactElemen
4242
if (loaded) {
4343
loadChildren();
4444
}
45-
}, [loaded]);
45+
}, [loaded, pid]);
4646

4747
const performDelete = async function () {
4848
const msg =

0 commit comments

Comments
 (0)