state.js 380 B

1234567891011121314151617
  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. gdprConsent: false,
  5. hostConfig: {
  6. ssl: null,
  7. host: null,
  8. port: null
  9. },
  10. scenesList: null,
  11. progression: {},
  12. socket: {
  13. isConnected: false,
  14. message: '',
  15. reconnectError: false
  16. }
  17. }))