Add a default help menu with * Report a Github issues link * Documentation link * Github discussions link * Intercom link support * App version id support
9 lines
246 B
TypeScript
9 lines
246 B
TypeScript
import { AppState } from "reducers";
|
|
|
|
export const getHelpModalOpen = (state: AppState): boolean =>
|
|
state.ui.help.modalOpen;
|
|
|
|
export const getDefaultRefinement = (state: AppState): string => {
|
|
return state.ui.help.defaultRefinement || "";
|
|
};
|