Skip to content

Instantly share code, notes, and snippets.

@rainerhahnekamp
Last active August 23, 2021 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rainerhahnekamp/159aadd6f404b01d1de9a7382b2971cc to your computer and use it in GitHub Desktop.
Save rainerhahnekamp/159aadd6f404b01d1de9a7382b2971cc to your computer and use it in GitHub Desktop.
export interface State {
loadStatus: 'NOT_LOADED' | 'LOADING' | 'LOADED';
customers: Customer[];
}
const initialState = {
loadStatus: 'NOT_LOADED',
customers: []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment