Skip to content

Commit d9aeabf

Browse files
author
Karim Stekelenburg
authored
fix(redux-store): add reducers to initializeStore (#413)
1 parent 5f2d512 commit d9aeabf

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/redux-store/src/store.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ import type { TypedUseSelectorHook } from 'react-redux'
44
import { combineReducers, configureStore } from '@reduxjs/toolkit'
55
import { useDispatch, useSelector } from 'react-redux'
66

7-
import { agentSlice } from './slices/agent'
8-
import { connectionsSlice } from './slices/connections/connectionsSlice'
7+
import { credentialsSlice, proofsSlice, connectionsSlice, agentSlice } from './slices'
98

109
const rootReducer = combineReducers({
1110
agent: agentSlice.reducer,
1211
connections: connectionsSlice.reducer,
12+
credentials: credentialsSlice.reducer,
13+
proofs: proofsSlice.reducer,
1314
})
1415

1516
type RootState = ReturnType<typeof rootReducer>

0 commit comments

Comments
 (0)