Ajout bannière affichant le temps de pénalité restant
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import PenaltyBanner from '@/components/PenalyBanner'
|
||||
import { useAddTrainMutation } from '@/hooks/mutations/useTrainMutation'
|
||||
import { useAuth } from '@/hooks/useAuth'
|
||||
import { useTrain } from '@/hooks/useTrain'
|
||||
@@ -22,6 +23,7 @@ export default function TrainScreen() {
|
||||
|
||||
return (
|
||||
<Surface style={{ flex: 1 }}>
|
||||
<PenaltyBanner />
|
||||
<FlatList
|
||||
data={trains.trains}
|
||||
keyExtractor={(train) => train.id}
|
||||
|
Reference in New Issue
Block a user