Files
twenty/packages/twenty-front/src/modules/users/contexts/UserContext.ts
T
Félix Malfait 464a480043 Continue ESLINT9 Migration (#13795)
Might already fix #13793
2025-08-10 23:25:58 +02:00

14 lines
377 B
TypeScript

import { type DateFormat } from '@/localization/constants/DateFormat';
import { type TimeFormat } from '@/localization/constants/TimeFormat';
import { createContext } from 'react';
export type UserContextType = {
dateFormat: DateFormat;
timeFormat: TimeFormat;
timeZone: string;
};
export const UserContext = createContext<UserContextType>(
{} as UserContextType,
);