fix: updated dependencies
This commit is contained in:
@@ -11,26 +11,24 @@ export default function RootLayout() {
|
||||
<ShowProvider>
|
||||
<SeasonProvider>
|
||||
<StreamingServiceProvider>
|
||||
|
||||
<DiscoveryProvider>
|
||||
<Stack>
|
||||
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
|
||||
<Stack.Screen
|
||||
name="showDetails"
|
||||
options={{
|
||||
headerShown: false,
|
||||
}}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="participant"
|
||||
options={{
|
||||
presentation: "fullScreenModal",
|
||||
headerShown: false,
|
||||
}}
|
||||
/>
|
||||
</Stack>
|
||||
</DiscoveryProvider>
|
||||
|
||||
<DiscoveryProvider>
|
||||
<Stack>
|
||||
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
|
||||
<Stack.Screen
|
||||
name="showDetails"
|
||||
options={{
|
||||
headerShown: false,
|
||||
}}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="participant"
|
||||
options={{
|
||||
presentation: "fullScreenModal",
|
||||
headerShown: false,
|
||||
}}
|
||||
/>
|
||||
</Stack>
|
||||
</DiscoveryProvider>
|
||||
</StreamingServiceProvider>
|
||||
</SeasonProvider>
|
||||
</ShowProvider>
|
||||
|
||||
@@ -18,11 +18,8 @@ export default function ParticipantScreen() {
|
||||
seasons: number[];
|
||||
}[]
|
||||
>([]);
|
||||
const { shows} = useShowContext();
|
||||
const { name } = useLocalSearchParams();
|
||||
|
||||
|
||||
|
||||
const { shows } = useShowContext();
|
||||
const { name } = useLocalSearchParams();
|
||||
|
||||
const resolved = useMemo(
|
||||
() =>
|
||||
@@ -69,9 +66,7 @@ export default function ParticipantScreen() {
|
||||
|
||||
<View style={styles.performedShowsSection}>
|
||||
<Text style={styles.performedShowsTitle}>Auftritte:</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
<ScrollView
|
||||
horizontal
|
||||
showsHorizontalScrollIndicator={false}
|
||||
|
||||
@@ -29,7 +29,8 @@ export default function ShowDetails() {
|
||||
React.useState<boolean>(true);
|
||||
const [selectedSeason, setSelectedSeason] = React.useState<number>(1);
|
||||
const showId = Number(id);
|
||||
const { fetchSeasonParticipants, fetchSeasonCount, fetchSeasonDates } = useSeasonContext();
|
||||
const { fetchSeasonParticipants, fetchSeasonCount, fetchSeasonDates } =
|
||||
useSeasonContext();
|
||||
const [seasonCount, setSeasonCount] = React.useState<number>(0);
|
||||
const [participants, setParticipants] = React.useState<
|
||||
{ id: number; name: string; imageUri: string }[]
|
||||
@@ -61,7 +62,7 @@ export default function ShowDetails() {
|
||||
};
|
||||
}, [showId, fetchSeasonCount, selectedSeason]);
|
||||
|
||||
React.useEffect(() => {
|
||||
React.useEffect(() => {
|
||||
if (!showId || !selectedSeason) return;
|
||||
let active = true;
|
||||
(async () => {
|
||||
@@ -107,7 +108,6 @@ export default function ShowDetails() {
|
||||
paddingBottom: Dimensions.get("window").height * 0.1,
|
||||
}}
|
||||
>
|
||||
|
||||
{formattedStartDate ? (
|
||||
<Text style={styles.startDate}>{formattedStartDate}</Text>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user