chore: ensures new Edit view is mounted when going directly between one id and another

This commit is contained in:
James
2022-08-30 15:12:23 -07:00
parent f517cb5e93
commit af1a483e64

View File

@@ -208,6 +208,7 @@ const Routes = () => {
if (permissions?.collections?.[collection.slug]?.read?.permission) {
return (
<DocumentInfoProvider
key={`${collection.slug}-edit-${id}`}
collection={collection}
id={id}
>