mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-10-29 15:07:57 +03:00
Update
This commit is contained in:
parent
eb544f4116
commit
6784dbb8c5
|
|
@ -36,5 +36,6 @@ export const getDevTools = (location: { search: string }) =>
|
|||
export function ConnectedDevTools() {
|
||||
const location = useLocation();
|
||||
const DevTools = getDevTools(location);
|
||||
// eslint-disable-next-line react-hooks/static-components
|
||||
return <DevTools />;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,5 +47,6 @@ export const getDevTools = (location: { search: string }) =>
|
|||
export function ConnectedDevTools() {
|
||||
const location = useLocation();
|
||||
const DevTools = getDevTools(location);
|
||||
// eslint-disable-next-line react-hooks/static-components
|
||||
return <DevTools />;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user