Skip to content

Commit

Permalink
Merge pull request #9 from dypark26/hotfix
Browse files Browse the repository at this point in the history
hotfix: Tabs, Stacks 수정, Edit 페이지 이름 수정 #1
  • Loading branch information
arch-spatula authored Jan 9, 2023
2 parents 2128b50 + 179b086 commit b8a1b3b
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 b8a1b3b

Please sign in to comment.