state.js 358 B

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