1import{d as i,a as n,j as e}from"./index-4ce00ee7.js";import{g as u}from"./index-7de85521.js";import{t as r}from"./index-51f3a61d.js";import{T as c}from"./TournamentEventForm-49d70b5a.js";import"./index-e629a575.js";const d=u` 2 mutation CreateTournamentEventMutation($input: CreateTournamentEventInput!) { 3 createTournamentEvent(input: $input) { 4 id 5 } 6 } 7`,E=()=>{const[a,{loading:s,error:o}]=i.useMutation(d,{onCompleted:()=>{r.toast.success("TournamentEvent created"),n.navigate(n.routes.tournamentEvents())},onError:t=>{r.toast.error(t.message)}}),m=t=>{a({variables:{input:t}})};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 TournamentEvent"})}),e.jsx("div",{className:"rw-segment-main",children:e.jsx(c,{onSave:m,loading:s,error:o})})]})},N=()=>e.jsx(E,{});export{N 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.