chore: naming

This commit is contained in:
cha0s 2022-03-13 15:15:22 -05:00
parent 5fc4c897f6
commit e7f5c242dd
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ export default {
[Hooks]: {
'@flecks/react.providers': (req, flecks) => (
flecks.fleck('@flecks/redux')
? [ReduxHistoryRouter, {history: createReduxHistory(flecks.get('$flecks/redux/store'))}]
? [ReduxHistoryRouter, {history: createReduxHistory(flecks.get('$flecks/redux.store'))}]
: [HistoryRouter, {history}]
),
},

View File

@ -12,7 +12,7 @@ export default {
// Hydrate from server.
const {preloadedState} = flecks.get('@flecks/redux/client');
const store = await configureStore(flecks, reducer, {preloadedState});
flecks.set('$flecks/redux/store', store);
flecks.set('$flecks/redux.store', store);
return [Provider, {store}];
},
'@flecks/redux.store': ({enhancers}) => {

View File

@ -1,7 +1,7 @@
export default (Action, flecks) => class ActionClient extends Action {
static async respond(packet) {
flecks.get('$flecks/redux/store').dispatch(packet.data);
flecks.get('$flecks/redux.store').dispatch(packet.data);
}
};