mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-21 08:58:19 +01:00
Use a hook for the ever-updating now
This commit is contained in:
@@ -19,7 +19,6 @@ const i18n = setupI18n('en', enMessages);
|
||||
|
||||
story.add('Default', () => (
|
||||
<ChangeNumberNotification
|
||||
now={Date.now()}
|
||||
sender={getDefaultConversation()}
|
||||
timestamp={1618894800000}
|
||||
i18n={i18n}
|
||||
@@ -28,7 +27,6 @@ story.add('Default', () => (
|
||||
|
||||
story.add('Long name', () => (
|
||||
<ChangeNumberNotification
|
||||
now={Date.now()}
|
||||
sender={getDefaultConversation({
|
||||
firstName: '💅😇🖋'.repeat(50),
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user