fix: Strange sidebar animation when history open and switching between docs

closes #4091
This commit is contained in:
Tom Moor
2022-09-09 23:00:56 +01:00
parent c963abeb8b
commit 6f11bff91e

View File

@@ -76,7 +76,7 @@ const AuthenticatedLayout: React.FC = ({ children }) => {
const sidebarRight = (
<React.Suspense fallback={null}>
<AnimatePresence>
<AnimatePresence key={ui.activeDocumentId}>
<Switch
location={location}
key={