Fix typo in reducers (#34)
Summary: Fixed typos in reducers Closes https://github.com/facebook/Sonar/pull/34 Differential Revision: D8379211 Pulled By: danielbuechele fbshipit-source-id: d1dc6ff80963b931a3d8b1e4abe0f40ade3ba67f
This commit is contained in:
committed by
Facebook Github Bot
parent
dba07a33c7
commit
1fa0eb3ad2
@@ -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 =
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user