From e540d1260fd569f99b2998cb1cd54c925cae6e88 Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Fri, 28 May 2021 14:47:18 +1000 Subject: [PATCH] interface: prevent storybook flake w relative time --- pkg/interface/src/stories/Author.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/interface/src/stories/Author.stories.tsx b/pkg/interface/src/stories/Author.stories.tsx index d86cb9057e..25da2a2772 100644 --- a/pkg/interface/src/stories/Author.stories.tsx +++ b/pkg/interface/src/stories/Author.stories.tsx @@ -65,5 +65,5 @@ RelativeTime.args = { size: 24, sigilPadding: 6, isRelativeTime: true, - date: date - 3600000 + date: Date.now() - 3600000 };