| 1 | import { getWindowData, getQueryParam } from '../utils'; |
| 2 | |
| 3 | export const initialState = { |
| 4 | tabs: {}, |
| 5 | profile: getWindowData( 'profile' ) ? getWindowData( 'profile' ) : {}, |
| 6 | id: getWindowData( 'id' ), |
| 7 | countries: getWindowData( 'countries' ), |
| 8 | states: getWindowData( 'states' ), |
| 9 | fetchingStates: false, |
| 10 | accentColor: getQueryParam( 'accent-color' ), |
| 11 | applicationError: null, |
| 12 | }; |
| 13 |