mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 16:09:50 +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 }) {
|
||||
return {
|
||||
useExtension: location.search.indexOf('ext') !== -1,
|
||||
supportImmutable: location.search.indexOf('immutable') !== -1,
|
||||
useExtension: location.search.includes('ext'),
|
||||
supportImmutable: location.search.includes('immutable'),
|
||||
theme: getTheme(location),
|
||||
dark: location.search.indexOf('dark') !== -1,
|
||||
dark: location.search.includes('dark'),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user