Merge pull request #4134 from thornbill/fix-react-router-dialogs
This commit is contained in:
@@ -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 <></>;
|
||||
|
||||
Reference in New Issue
Block a user