MyCrypto/common/selectors/schedule/current/scheduleTimezone.ts

13 lines
337 B
TypeScript

import { AppState } from 'reducers';
import { getScheduleTimezone } from '../fields';
interface ICurrentScheduleTimezone {
raw: string;
value: string;
}
const getCurrentScheduleTimezone = (state: AppState): ICurrentScheduleTimezone =>
getScheduleTimezone(state);
export { getCurrentScheduleTimezone, ICurrentScheduleTimezone };