Skip to content

Commit

Permalink
feat(toast): remove unnecessary state
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswhong committed Jul 31, 2019
1 parent d84cfc8 commit 7020e68
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/models/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ export interface Toast {
export interface UI {
apiConnection: ApiConnection
showDatasetList: boolean
errorMessage: string | null
message: string | null
hasAcceptedTOS: boolean
hasSetPeername: boolean
modal?: Modal
Expand Down
2 changes: 0 additions & 2 deletions app/reducers/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ const defaultToast = {
const initialState = {
apiConnection: 1,
showDatasetList: false,
errorMessage: null,
message: null,
hasAcceptedTOS: store().getItem(hasAcceptedTOSKey) === 'true',
hasSetPeername: store().getItem(hasSetPeernameKey) === 'true',
showDiff: false,
Expand Down

0 comments on commit 7020e68

Please sign in to comment.