diff --git a/src/reducers/application.js b/src/reducers/application.js index 357dccff4..528847deb 100644 --- a/src/reducers/application.js +++ b/src/reducers/application.js @@ -29,7 +29,7 @@ export type Action = { payload?: boolean, }; -const INITAL_STATE: State = { +const INITIAL_STATE: State = { leftSidebarVisible: true, rightSidebarVisible: true, rightSidebarAvailable: false, @@ -39,7 +39,7 @@ const INITAL_STATE: State = { }; export default function reducer( - state: State = INITAL_STATE, + state: State = INITIAL_STATE, action: Action, ): State { const newValue = diff --git a/src/reducers/devices.js b/src/reducers/devices.js index 17e2a8d05..763d68c13 100644 --- a/src/reducers/devices.js +++ b/src/reducers/devices.js @@ -18,10 +18,10 @@ export type Action = payload: BaseDevice, }; -const INITAL_STATE: State = []; +const INITIAL_STATE: State = []; export default function reducer( - state: State = INITAL_STATE, + state: State = INITIAL_STATE, action: Action, ): State { switch (action.type) {