From 96b08ecf1f3d79c6362984be5165585ef114ec3e Mon Sep 17 00:00:00 2001 From: Tomasz Misiukiewicz Date: Wed, 14 Feb 2024 15:50:38 +0100 Subject: [PATCH] update share log page nav props --- src/pages/settings/AboutPage/ShareLogPage.tsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/pages/settings/AboutPage/ShareLogPage.tsx b/src/pages/settings/AboutPage/ShareLogPage.tsx index 8479c8d61e75..8f0623f99d32 100644 --- a/src/pages/settings/AboutPage/ShareLogPage.tsx +++ b/src/pages/settings/AboutPage/ShareLogPage.tsx @@ -1,13 +1,10 @@ +import type {StackScreenProps} from '@react-navigation/stack'; import React from 'react'; +import type {SettingsNavigatorParamList} from '@libs/Navigation/types'; +import type SCREENS from '@src/SCREENS'; import ShareLogList from './ShareLogList'; -type ShareLogPageProps = { - route: { - params: { - source: string; - }; - }; -}; +type ShareLogPageProps = StackScreenProps; function ShareLogPage({route}: ShareLogPageProps) { return ;