mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-18 04:02:18 +03:00
Update
This commit is contained in:
parent
65fab44a20
commit
99807755bd
|
@ -155,22 +155,22 @@ function DemoApp(props: Props) {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const toggleImmutableSupport = () => {
|
const toggleImmutableSupport = async () => {
|
||||||
const options = getOptions(location);
|
const options = getOptions(location);
|
||||||
|
|
||||||
navigate(
|
await navigate(
|
||||||
buildUrl({ ...options, supportImmutable: !options.supportImmutable }),
|
buildUrl({ ...options, supportImmutable: !options.supportImmutable }),
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const toggleTheme = () => {
|
const toggleTheme = async () => {
|
||||||
const options = getOptions(location);
|
const options = getOptions(location);
|
||||||
|
|
||||||
navigate(buildUrl({ ...options, dark: !options.dark }));
|
await navigate(buildUrl({ ...options, dark: !options.dark }));
|
||||||
};
|
};
|
||||||
|
|
||||||
const setTheme = (options: Options, theme: string) => {
|
const setTheme = async (options: Options, theme: string) => {
|
||||||
navigate(buildUrl({ ...options, theme }));
|
await navigate(buildUrl({ ...options, theme }));
|
||||||
};
|
};
|
||||||
|
|
||||||
const toggleTimeoutUpdate = () => {
|
const toggleTimeoutUpdate = () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user