Render disappearing message timers generically
This commit is contained in:
parent
c1730e055f
commit
736075322c
16 changed files with 372 additions and 307 deletions
|
@ -82,7 +82,16 @@ export function getEmptyState(): UserStateType {
|
|||
platform: 'missing',
|
||||
interactionMode: 'mouse',
|
||||
theme: ThemeType.light,
|
||||
i18n: () => 'missing',
|
||||
i18n: Object.assign(
|
||||
() => {
|
||||
throw new Error('i18n not yet set up');
|
||||
},
|
||||
{
|
||||
getLocale() {
|
||||
throw new Error('i18n not yet set up');
|
||||
},
|
||||
}
|
||||
),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue