-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Graph polishing * Revert "Graph polishing" This reverts commit 65cfb1b. * Adds Error Snackbar on Server errors * fix lint
- Loading branch information
1 parent
92f4033
commit a9e402b
Showing
12 changed files
with
199 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* eslint import/prefer-default-export: 0 */ | ||
import actionCreator from '../utils/actionCreator' | ||
import * as Constants from '../constants' | ||
|
||
export function setError(errorMessage) { | ||
return actionCreator(Constants.SET_ERROR, { errorMessage }) | ||
} | ||
|
||
export function hideError() { | ||
return actionCreator(Constants.HIDE_ERROR) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.