Skip to content

Instantly share code, notes, and snippets.

@Jared-Dahlke
Created September 26, 2019 07:16
Show Gist options
  • Select an option

  • Save Jared-Dahlke/7778a642db8a0ce72e27c62e546581c5 to your computer and use it in GitHub Desktop.

Select an option

Save Jared-Dahlke/7778a642db8a0ce72e27c62e546581c5 to your computer and use it in GitHub Desktop.
import store from '../MyStoreAndMore.js'
SetAlertState=(mynumber)=>{
console.log('set alert state')
store.dispatch({
type: "SetAlertCount",
payload: { AlertCount: mynumber, }
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment