Skip to content

Commit

Permalink
update share log page nav props
Browse files Browse the repository at this point in the history
  • Loading branch information
TMisiukiewicz committed Feb 14, 2024
1 parent 025a9a0 commit 96b08ec
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/pages/settings/AboutPage/ShareLogPage.tsx
Original file line number Diff line number Diff line change
@@ -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<SettingsNavigatorParamList, typeof SCREENS.SETTINGS.SHARE_LOG>;

function ShareLogPage({route}: ShareLogPageProps) {
return <ShareLogList logSource={route.params.source} />;
Expand Down

0 comments on commit 96b08ec

Please sign in to comment.