mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-16 16:14:43 -04:00
Move toolbar functions into redux reducer (#1763)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
a6a2251c88
commit
b30cc5b390
80 changed files with 2481 additions and 2303 deletions
|
@ -7,5 +7,8 @@
|
|||
import { createStore } from 'redux'
|
||||
import { composeWithDevTools } from 'redux-devtools-extension/developmentOnly'
|
||||
import { allReducers } from './reducers'
|
||||
import type { ApplicationState } from './application-state'
|
||||
|
||||
export const store = createStore(allReducers, composeWithDevTools())
|
||||
|
||||
export const getGlobalState = (): ApplicationState => store.getState()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue