summaryrefslogtreecommitdiff
path: root/client/store.js
blob: 1ac7be190bfdcbb9c6ffe4cc63886b50206a527d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { createStore } from 'redux'
import reducer from './reducers/index.js'

const store = createStore(reducer, {
  currentTask: {
    content: null,
    style: null,
    alpha: 0.001,
  },
  tasks: [],
  folders: {
    openFolders: [],
    folders: [],
  },
  audioPlayer: {
    file: null,
  },
})

export default store