* splitted files to support groups on members page in EE * updated an import * minor change
17 lines
483 B
TypeScript
17 lines
483 B
TypeScript
import { FocusState } from "reducers/uiReducers/focusHistoryReducer";
|
|
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
|
|
|
export const routeChanged = (pathname: string, hash?: string) => {
|
|
return {
|
|
type: ReduxActionTypes.ROUTE_CHANGED,
|
|
payload: { pathname, hash },
|
|
};
|
|
};
|
|
|
|
export const setFocusHistory = (key: string, focusState: FocusState) => {
|
|
return {
|
|
type: ReduxActionTypes.SET_FOCUS_HISTORY,
|
|
payload: { key, focusState },
|
|
};
|
|
};
|