From 92e2093759852287789d5b620282f39f5d80e67b Mon Sep 17 00:00:00 2001 From: Konstantin Schaper Date: Wed, 20 Oct 2021 10:02:12 +0200 Subject: [PATCH] fix broken storybook story --- scm-ui/ui-components/src/CardColumnSmall.stories.tsx | 7 +------ .../src/__snapshots__/storyshots.test.ts.snap | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/scm-ui/ui-components/src/CardColumnSmall.stories.tsx b/scm-ui/ui-components/src/CardColumnSmall.stories.tsx index 0cb1756b3a..65a84ef6e2 100644 --- a/scm-ui/ui-components/src/CardColumnSmall.stories.tsx +++ b/scm-ui/ui-components/src/CardColumnSmall.stories.tsx @@ -27,7 +27,6 @@ import { storiesOf } from "@storybook/react"; import CardColumnSmall from "./CardColumnSmall"; import Icon from "./Icon"; import styled from "styled-components"; -import DateFromNow from "./DateFromNow"; const Wrapper = styled.div` margin: 2rem; @@ -51,11 +50,7 @@ storiesOf("CardColumnSmall", module) link={link} avatar={} contentLeft={Repository created} - contentRight={ - - - - } + contentRight={over 42 years ago} footer="New: scmadmin/spaceship" /> )); diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap index 13ef0fa74a..dcfbed4ded 100644 --- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap +++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap @@ -2754,12 +2754,7 @@ exports[`Storyshots CardColumnSmall Task 1`] = `
- + over 42 years ago