You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
582 B
22 lines
582 B
//
|
|
// OrganizedTournamentView.swift
|
|
// PadelClub
|
|
//
|
|
// Created by Razmig Sarkissian on 29/02/2024.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct OrganizedTournamentView: View {
|
|
let tournament: Tournament
|
|
var body: some View {
|
|
@Bindable var tournament = tournament
|
|
NavigationStack(path: $tournament.navigationPath) {
|
|
TournamentView(presentationContext: .organizer)
|
|
.environment(tournament)
|
|
// .onChange(of: navigationPath) {
|
|
// tournament.navigationPath = navigationPath
|
|
// }
|
|
}
|
|
}
|
|
}
|
|
|