Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/state/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface StateContextType {
export const StateContext = createContext<StateContextType>(null!);

/*
The 'react-hooks/rules-of-hooks' linting rules prevent React Hooks fron being called
The 'react-hooks/rules-of-hooks' linting rules prevent React Hooks from being called
inside of if() statements. This is because hooks must always be called in the same order
every time a component is rendered. The 'react-hooks/rules-of-hooks' rule is disabled below
because the "if (process.env.REACT_APP_SET_AUTH === 'firebase')" statements are evaluated
Expand Down