Skip to content

Commit

Permalink
design: 페이지 header를 FlatList에 포함합니다. #1 #2 #5
Browse files Browse the repository at this point in the history
  • Loading branch information
arch-spatula committed Jan 12, 2023
1 parent 2bfe7ec commit 3a430d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screen/MyPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ const MyPage = ({ navigation: { navigate } }) => {

return (
<MyPageContainer>
<PageTitle>나의 약관리</PageTitle>
<FlatList
data={pillList}
ListHeaderComponent={<PageTitle>나의 약관리</PageTitle>}
keyExtractor={(item) => item.id}
renderItem={({ item: { id, pillName, time } }) => (
<ManageList
Expand Down

0 comments on commit 3a430d7

Please sign in to comment.