Front: Navigation: Use actual routes to build a typed navigator

This commit is contained in:
Arthur Jamet
2023-04-14 11:46:40 +01:00
parent 9cd6c90188
commit b0e01ffbed
10 changed files with 52 additions and 32 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import React from 'react';
import { Dimensions, View } from 'react-native';
import { Box, Image, Heading, HStack, Card, Button, Spacer, Text } from 'native-base';
import Translate from '../components/Translate';
import { useNavigation } from '@react-navigation/native';
import { useNavigation } from "../Navigation";
import TextButton from '../components/TextButton';
const UserMedals = () => {