mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
fix broken storybook story
This commit is contained in:
@@ -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={<Icon name="exchange-alt" className="fa-fw fa-lg" color="inherit" />}
|
||||
contentLeft={<strong>Repository created</strong>}
|
||||
contentRight={
|
||||
<small>
|
||||
<DateFromNow date={new Date(1634287231)} />
|
||||
</small>
|
||||
}
|
||||
contentRight={<small>over 42 years ago</small>}
|
||||
footer="New: scmadmin/spaceship"
|
||||
/>
|
||||
));
|
||||
|
||||
@@ -2754,12 +2754,7 @@ exports[`Storyshots CardColumnSmall Task 1`] = `
|
||||
</div>
|
||||
<div>
|
||||
<small>
|
||||
<time
|
||||
className="DateElement-sc-1schp8c-0 cinWxa"
|
||||
title="1970-01-19 22:58:07"
|
||||
>
|
||||
over 51 years ago
|
||||
</time>
|
||||
over 42 years ago
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user