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 CardColumnSmall from "./CardColumnSmall";
|
||||||
import Icon from "./Icon";
|
import Icon from "./Icon";
|
||||||
import styled from "styled-components";
|
import styled from "styled-components";
|
||||||
import DateFromNow from "./DateFromNow";
|
|
||||||
|
|
||||||
const Wrapper = styled.div`
|
const Wrapper = styled.div`
|
||||||
margin: 2rem;
|
margin: 2rem;
|
||||||
@@ -51,11 +50,7 @@ storiesOf("CardColumnSmall", module)
|
|||||||
link={link}
|
link={link}
|
||||||
avatar={<Icon name="exchange-alt" className="fa-fw fa-lg" color="inherit" />}
|
avatar={<Icon name="exchange-alt" className="fa-fw fa-lg" color="inherit" />}
|
||||||
contentLeft={<strong>Repository created</strong>}
|
contentLeft={<strong>Repository created</strong>}
|
||||||
contentRight={
|
contentRight={<small>over 42 years ago</small>}
|
||||||
<small>
|
|
||||||
<DateFromNow date={new Date(1634287231)} />
|
|
||||||
</small>
|
|
||||||
}
|
|
||||||
footer="New: scmadmin/spaceship"
|
footer="New: scmadmin/spaceship"
|
||||||
/>
|
/>
|
||||||
));
|
));
|
||||||
|
|||||||
@@ -2754,12 +2754,7 @@ exports[`Storyshots CardColumnSmall Task 1`] = `
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<small>
|
<small>
|
||||||
<time
|
over 42 years ago
|
||||||
className="DateElement-sc-1schp8c-0 cinWxa"
|
|
||||||
title="1970-01-19 22:58:07"
|
|
||||||
>
|
|
||||||
over 51 years ago
|
|
||||||
</time>
|
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user