Skip to content

Commit

Permalink
mash-up-kr#2 rename AnswerList -> Answers
Browse files Browse the repository at this point in the history
  • Loading branch information
godjoy committed Mar 26, 2021
1 parent d547900 commit 84ff267
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 72 deletions.
70 changes: 0 additions & 70 deletions src/components/answerlist/AnswerList.tsx

This file was deleted.

20 changes: 18 additions & 2 deletions src/pages/Concern.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import React from 'react'
import Layout from 'components/layout'
import ConcernContainer from 'containers/ConcernContainer'
import { Answer } from 'types/Answer'
import AnswerList from 'components/answerlist/AnswerList'
import Answers from 'components/answerlist/Answers'

const Concern = () => (
<Layout title="고민 카드">
<ConcernContainer />
<AnswerList answers={dummy} />
<Answers answers={dummy} />
</Layout>
)
export default Concern
Expand All @@ -30,4 +30,20 @@ const dummy: Answer[] = [
time: '2010.02.12 오전 08:01',
likeNum: 20,
},
{
id: 3,
name: '로또',
contents:
'남자친구와 만난지 3년이 되어갑니다. 그런데 며칠전 남자친구의 휴대폰을 우연히 보게 되었어요...',
time: '2010.02.12 오전 08:01',
likeNum: 20,
},
{
id: 4,
name: '로또',
contents:
'남자친구와 만난지 3년이 되어갑니다. 그런데 며칠전 남자친구의 휴대폰을 우연히 보게 되었어요...',
time: '2010.02.12 오전 08:01',
likeNum: 20,
},
]

0 comments on commit 84ff267

Please sign in to comment.