state.js 358 B

123456789101112131415
  1. // Deep copy to not mutate it with the store (default state is needed when reloading after a refresh)
  2. export default () => JSON.parse(JSON.stringify({
  3. uuid: null,
  4. userId: null,
  5. experimentId: null,
  6. gdprConsent: false,
  7. hostConfig: {
  8. ssl: null,
  9. host: null,
  10. port: null
  11. },
  12. scenesList: null,
  13. progression: {},
  14. customLinkData: null
  15. }))