mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-17 11:42:29 +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);
|
||||
|
||||
navigate(
|
||||
await navigate(
|
||||
buildUrl({ ...options, supportImmutable: !options.supportImmutable }),
|
||||
);
|
||||
};
|
||||
|
||||
const toggleTheme = () => {
|
||||
const toggleTheme = async () => {
|
||||
const options = getOptions(location);
|
||||
|
||||
navigate(buildUrl({ ...options, dark: !options.dark }));
|
||||
await navigate(buildUrl({ ...options, dark: !options.dark }));
|
||||
};
|
||||
|
||||
const setTheme = (options: Options, theme: string) => {
|
||||
navigate(buildUrl({ ...options, theme }));
|
||||
const setTheme = async (options: Options, theme: string) => {
|
||||
await navigate(buildUrl({ ...options, theme }));
|
||||
};
|
||||
|
||||
const toggleTimeoutUpdate = () => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user