mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 02:10:59 +00:00
[web] use a dummy action to init list
This commit is contained in:
parent
1fc11974a7
commit
42f433e395
@ -12,7 +12,7 @@ export const ERROR = 'EVENTLOG_ERROR'
|
||||
const defaultState = {
|
||||
visible: false,
|
||||
filters: { debug: false, info: true, web: true },
|
||||
list: reduceList()
|
||||
list: reduceList(undefined, { type: Symbol('EVENTLOG_INIT_LIST') })
|
||||
}
|
||||
|
||||
export default function reduce(state = defaultState, action) {
|
||||
|
Loading…
Reference in New Issue
Block a user