PageSourceSearch

https://driftgolf-qa.netlify.app/assets/NewTournamentPage-52c188ba.js

js driftgolf-qa.netlify.app collected 2026-10-03 10:41:07 UTC 972 bytes, 7 lines download raw bytes

1import{d as i,a,j as e}from"./index-4ce00ee7.js";import{g as u}from"./index-7de85521.js";import{t as n}from"./index-51f3a61d.js";import{T as d}from"./TournamentForm-8ad6fd42.js";import{u as c}from"./GolfClubHooks-443ca383.js";import"./index-e629a575.js";const l=u`
2  mutation CreateTournamentMutation($input: CreateTournamentInput!) {
3    createTournament(input: $input) {
4      id
5    }
6  }
7`,T=()=>{const[t,{loading:s,error:o}]=i.useMutation(l,{onCompleted:()=>{n.toast.success("Tournament created"),a.navigate(a.routes.tournaments())},onError:r=>{n.toast.error(r.message)}}),m=r=>{t({variables:{input:r}})};return e.jsxs("div",{className:"rw-segment",children:[e.jsx("header",{className:"rw-segment-header",children:e.jsx("h2",{className:"rw-heading rw-heading-secondary",children:"New Tournament"})}),e.jsx("div",{className:"rw-segment-main",children:e.jsx(d,{onSave:m,loading:s,error:o})})]})},j=()=>{const t=c();return e.jsx(T,{golfClubId:t})};export{j as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.