Merge pull request #4134 from thornbill/fix-react-router-dialogs

This commit is contained in:
Bill Thornton
2022-11-03 16:49:50 -04:00
committed by GitHub
@@ -70,8 +70,9 @@ const ViewManagerPage: FunctionComponent<ViewManagerPageProps> = ({
isThemeMediaSupported,
transition,
location.pathname,
location.search,
location.state
location.search
// location.state is NOT included as a dependency here since dialogs will update state while the current view
// stays the same
]);
return <></>;