Fix <UniversalTimerNotification> stories

This commit is contained in:
Evan Hahn
2021-09-15 11:04:42 -05:00
committed by GitHub
parent 487d71464a
commit ce1daef9f3

View File

@@ -14,8 +14,8 @@ const story = storiesOf('Components/UniversalTimerNotification', module);
const i18n = setupI18n('en', enMessages);
EXPIRE_TIMERS.forEach(({ value, label }) => {
EXPIRE_TIMERS.forEach(({ value: ms, label }) => {
story.add(`Initial value: ${label}`, () => {
return <UniversalTimerNotification i18n={i18n} expireTimer={value} />;
return <UniversalTimerNotification i18n={i18n} expireTimer={ms / 1000} />;
});
});