Skip to content
This repository was archived by the owner on Dec 3, 2022. It is now read-only.

Commit e00f4f5

Browse files
committed
remove NavigationParams generic?
1 parent daa6cb7 commit e00f4f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/Hooks.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const HomeScreen = () => {
2828
};
2929

3030
const DetailsScreen = () => {
31-
const from = useNavigationParam<DetailsScreenParams>('from');
31+
const from = useNavigationParam('from');
3232
return <p>{from}</p>;
3333
};
3434

0 commit comments

Comments
 (0)