diff --git a/package.json b/package.json index c5b7722..5811978 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "@react-navigation/bottom-tabs": "^6.5.11", "@react-navigation/native": "^6.1.9", "@react-navigation/native-stack": "^6.9.17", + "@react-navigation/stack": "^6.3.21", "@types/react": "~18.2.14", "@typescript-eslint/eslint-plugin": "^6.17.0", "@typescript-eslint/parser": "^6.17.0", diff --git a/src/screens/session-stack/session-feed.tsx b/src/screens/session-stack/session-feed.tsx index 5b69594..bf99074 100644 --- a/src/screens/session-stack/session-feed.tsx +++ b/src/screens/session-stack/session-feed.tsx @@ -18,7 +18,7 @@ type SessionFeedNavigationProp = StackNavigationProp< interface SessionFeedProps { navigation: SessionFeedNavigationProp; } -const SessionFeed: React.FC = ({ navigation }) => { +const SessionFeed: React.FC = ({ navigation }) => { return ( navigation.push("Session")}> diff --git a/yarn.lock b/yarn.lock index 03a9858..2f8400e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3091,6 +3091,11 @@ resolved "https://registry.yarnpkg.com/@react-navigation/elements/-/elements-1.3.21.tgz#debac6becc6b6692da09ec30e705e476a780dfe1" integrity sha512-eyS2C6McNR8ihUoYfc166O1D8VYVh9KIl0UQPI8/ZJVsStlfSTgeEEh+WXge6+7SFPnZ4ewzEJdSAHH+jzcEfg== +"@react-navigation/elements@^1.3.22": + version "1.3.22" + resolved "https://registry.yarnpkg.com/@react-navigation/elements/-/elements-1.3.22.tgz#37e25e46ca4715049795471056a9e7e58ac4a14e" + integrity sha512-HYKucs0TwQT8zMvgoZbJsY/3sZfzeP8Dk9IDv4agst3zlA7ReTx4+SROCG6VGC7JKqBCyQykHIwkSwxhapoc+Q== + "@react-navigation/native-stack@^6.9.17": version "6.9.17" resolved "https://registry.yarnpkg.com/@react-navigation/native-stack/-/native-stack-6.9.17.tgz#4fc370b14be07296423ae8c00940fb002c6001b5" @@ -3116,6 +3121,15 @@ dependencies: nanoid "^3.1.23" +"@react-navigation/stack@^6.3.21": + version "6.3.21" + resolved "https://registry.yarnpkg.com/@react-navigation/stack/-/stack-6.3.21.tgz#beec1a384969d10c8ddab9978f382fa441182760" + integrity sha512-oh059bD9w6Q7YbcK3POXRHK+bfoafPU9gvunD0MHJGmPVe9bazn5OMNzRYextvB6BfwQy+v3dy76Opf0vIGcNg== + dependencies: + "@react-navigation/elements" "^1.3.22" + color "^4.2.3" + warn-once "^0.1.0" + "@repeaterjs/repeater@^3.0.4": version "3.0.5" resolved "https://registry.yarnpkg.com/@repeaterjs/repeater/-/repeater-3.0.5.tgz#b77571685410217a548a9c753aa3cdfc215bfc78"