From c5855b25f588439f823b9758882338fae4cf9a2b Mon Sep 17 00:00:00 2001 From: khw2002 Date: Mon, 30 Sep 2024 17:56:51 +0900 Subject: [PATCH] #115 feat : Profile tab name fix --- src/components/Home/Market/InfoPage.tsx | 1 + src/components/Home/Market/MarketTabView.tsx | 11 ++--------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/components/Home/Market/InfoPage.tsx b/src/components/Home/Market/InfoPage.tsx index f4ece29..41bd540 100644 --- a/src/components/Home/Market/InfoPage.tsx +++ b/src/components/Home/Market/InfoPage.tsx @@ -3,6 +3,7 @@ import { Tabs } from 'react-native-collapsible-tab-view'; import styled from 'styled-components/native'; import { Body14R, Body16B } from '../../../styles/GlobalText'; +//TODO: ReformerProfilePage로 이름 수정 const InfoPage = () => { const data = [ { diff --git a/src/components/Home/Market/MarketTabView.tsx b/src/components/Home/Market/MarketTabView.tsx index a43cf61..424bddc 100644 --- a/src/components/Home/Market/MarketTabView.tsx +++ b/src/components/Home/Market/MarketTabView.tsx @@ -116,9 +116,8 @@ const MarketTabView = ({ route, }: StackScreenProps) => { const [routes] = useState([ - { key: 'info', title: '정보' }, + { key: 'profile', title: '프로필' }, { key: 'service', title: '서비스' }, - { key: 'review', title: '리뷰' }, ]); const flatListRef = useRef(null); const scrollRef = useRef(null); @@ -151,19 +150,13 @@ const MarketTabView = ({ )}> {routes.map(route => ( - {route.key === 'info' && } + {route.key === 'profile' && } {route.key === 'service' && ( )} - {route.key === 'review' && ( - - - - - )} ))}