Skip to content

Commit

Permalink
hotfix: Tabs, Stacks 수정, Edit 페이지 이름 수정 #1
Browse files Browse the repository at this point in the history
네이밍 변경으로 생긴 버그를 수정했습니다.
  • Loading branch information
arch-spatula committed Jan 9, 2023
1 parent 2128b50 commit 179b086
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Navigations/Root.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import Tabs from './Tab';
import Stacks from './Stack';
import Tabs from './Tabs';
import Stacks from './Stacks';

const Stack = createNativeStackNavigator();

Expand Down
4 changes: 3 additions & 1 deletion src/screen/MyPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ const MyPage = ({ navigation: { navigate } }) => {
</PillCard>
</ManageList>
{/* 약 추가 버튼 */}
<CustomButton onPress={() => navigate('Stacks', { screen: 'EditPage' })}>
<CustomButton
onPress={() => navigate('Stacks', { screen: '수정 페이지' })}
>
<Text>새로운 약 추가하기</Text>
</CustomButton>
</MyPageContainer>
Expand Down

0 comments on commit 179b086

Please sign in to comment.