Use a hook for the ever-updating now
This commit is contained in:
parent
f8724e91da
commit
4e48d7792b
21 changed files with 34 additions and 78 deletions
|
@ -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),
|
||||
})}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue