Move supportform related redux property in a different reducer
Summary: This diff moves support form related redux prop to a separate reducer under separate supportForm property. Reviewed By: passy Differential Revision: D18272436 fbshipit-source-id: b64c4e041d8dacd305a71db255752a310a46b0d1
This commit is contained in:
committed by
Facebook Github Bot
parent
9ec4ef67ad
commit
7c69aba8fa
@@ -28,6 +28,10 @@ import plugins, {
|
||||
State as PluginsState,
|
||||
Action as PluginsAction,
|
||||
} from './plugins';
|
||||
import supportForm, {
|
||||
State as SupportFormState,
|
||||
Action as SupportFormAction,
|
||||
} from './supportForm';
|
||||
import settings, {
|
||||
Settings as SettingsState,
|
||||
Action as SettingsAction,
|
||||
@@ -52,6 +56,7 @@ export type Actions =
|
||||
| PluginsAction
|
||||
| UserAction
|
||||
| SettingsAction
|
||||
| SupportFormAction
|
||||
| {type: 'INIT'};
|
||||
|
||||
export type State = {
|
||||
@@ -62,6 +67,7 @@ export type State = {
|
||||
plugins: PluginsState;
|
||||
user: UserState & PersistPartial;
|
||||
settingsState: SettingsState & PersistPartial;
|
||||
supportForm: SupportFormState;
|
||||
};
|
||||
|
||||
export type Store = ReduxStore<State, Actions>;
|
||||
@@ -107,6 +113,7 @@ export default combineReducers<State, Actions>({
|
||||
notifications,
|
||||
),
|
||||
plugins,
|
||||
supportForm,
|
||||
user: persistReducer(
|
||||
{
|
||||
key: 'user',
|
||||
|
||||
Reference in New Issue
Block a user