You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/ts/state/selectors/theme.ts

5 lines
165 B
TypeScript

import { StateType } from '../reducer';
import { ThemeStateType } from '../ducks/theme';
export const getTheme = (state: StateType): ThemeStateType => state.theme;