mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Exclude location.state from effect dependencies
This commit is contained in:
parent
88a01888bf
commit
851831f8a8
@ -70,8 +70,9 @@ const ViewManagerPage: FunctionComponent<ViewManagerPageProps> = ({
|
|||||||
isThemeMediaSupported,
|
isThemeMediaSupported,
|
||||||
transition,
|
transition,
|
||||||
location.pathname,
|
location.pathname,
|
||||||
location.search,
|
location.search
|
||||||
location.state
|
// location.state is NOT included as a dependency here since dialogs will update state while the current view
|
||||||
|
// stays the same
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return <></>;
|
return <></>;
|
||||||
|
Loading…
Reference in New Issue
Block a user