mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
inspector-monitor-demo
This commit is contained in:
parent
f7e15e3339
commit
a93cc94ec4
|
@ -7,10 +7,10 @@ export interface Options {
|
||||||
|
|
||||||
export default function getOptions(location: { search: string }) {
|
export default function getOptions(location: { search: string }) {
|
||||||
return {
|
return {
|
||||||
useExtension: location.search.indexOf('ext') !== -1,
|
useExtension: location.search.includes('ext'),
|
||||||
supportImmutable: location.search.indexOf('immutable') !== -1,
|
supportImmutable: location.search.includes('immutable'),
|
||||||
theme: getTheme(location),
|
theme: getTheme(location),
|
||||||
dark: location.search.indexOf('dark') !== -1,
|
dark: location.search.includes('dark'),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user