Pass plugins via context instead of using Redux store
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
export const SWITCH_VISUAL_MODE = 'SWITCH_VISUAL_MODE';
|
||||
export const REGISTER_COMPONENT = 'REGISTER_COMPONENT';
|
||||
|
||||
export function switchVisualMode(useVisualMode) {
|
||||
return {
|
||||
@ -7,10 +6,3 @@ export function switchVisualMode(useVisualMode) {
|
||||
payload: useVisualMode
|
||||
};
|
||||
}
|
||||
|
||||
export function registerComponent(options) {
|
||||
return {
|
||||
type: REGISTER_COMPONENT,
|
||||
payload: options
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user