Skip to content

Commit

Permalink
fix: merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
paultibbetts committed Jun 28, 2020
1 parent 38b319a commit 7f69c7a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 29 deletions.
21 changes: 0 additions & 21 deletions src/components/Collection/Collection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,9 @@ export const Collection = (props: Props) => {
const pageNumber: string = page.toString() || '1';

const renderList = (data: StoryModel[], perPage: number) => {
<<<<<<< HEAD
let classNames = "collection content";
if (isFetching) {
classNames = `${classNames} is-fetching`;
}
return (
<div className={classNames}>
<ol className="collection__list">
=======
return (
<div>
<ol>
>>>>>>> feat/dark-mode
{renderStories(data, perPage)}
</ol>
</div>
Expand Down Expand Up @@ -74,19 +64,12 @@ export const Collection = (props: Props) => {
return (
<div>
{renderList(content, content.length)}
<<<<<<< HEAD
<Pagination
page={pageNumber ? pageNumber : '1'}
type={type}
/>
=======
<div className="my-4">
<Pagination
page={pageNumber ? pageNumber : '1'}
type={type}
/>
</div>
>>>>>>> feat/dark-mode
</div>
);
}
Expand All @@ -104,11 +87,7 @@ export const Collection = (props: Props) => {
}

return (
<<<<<<< HEAD
<div className="container">
=======
<div>
>>>>>>> feat/dark-mode
{renderContent(collection)}
</div>
);
Expand Down
4 changes: 0 additions & 4 deletions src/components/Comment/Comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ export const Comment = (props: ICommentProps): JSX.Element => {
dangerouslySetInnerHTML={renderMarkup(comment.content)}
/>
</div>
<<<<<<< HEAD
<div dangerouslySetInnerHTML={renderMarkup(comment.content)} />
=======
>>>>>>> feat/dark-mode
{comment.comments.length > 0
? <Comments data={comment.comments} />
: ''
Expand Down
4 changes: 0 additions & 4 deletions src/components/Item/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,7 @@ export const Item = (props: Props) => {
}
</div>
<div
<<<<<<< HEAD
className="item__content"
=======
className="mt-3"
>>>>>>> feat/dark-mode
dangerouslySetInnerHTML={renderMarkup(data.content)}
/>
</div>
Expand Down

1 comment on commit 7f69c7a

@vercel
Copy link

@vercel vercel bot commented on 7f69c7a Jun 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.