mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
Make timeagoFormatter optional
This commit is contained in:
@@ -13,7 +13,7 @@ export interface TalkContext {
|
||||
localeMessages: MessageContext[];
|
||||
|
||||
// formatter for timeago.
|
||||
timeagoFormatter: Formatter | null;
|
||||
timeagoFormatter?: Formatter;
|
||||
}
|
||||
|
||||
const { Provider, Consumer } = React.createContext<TalkContext>({} as any);
|
||||
|
||||
Reference in New Issue
Block a user