PageSourceSearch

https://driftgolf-qa.netlify.app/assets/NewUserPage-fd316498.js

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

1import{d as m,a as r,j as e}from"./index-4ce00ee7.js";import{g as c}from"./index-7de85521.js";import{t}from"./index-51f3a61d.js";import{U as d}from"./UserForm-f95933f1.js";import"./index-e629a575.js";const u=c`
2  mutation CreateUserMutation($input: CreateUserInput!) {
3    createUser(input: $input) {
4      id
5    }
6  }
7`,l=()=>{const[a,{loading:o,error:n}]=m.useMutation(u,{onCompleted:()=>{t.toast.success("User created"),r.navigate(r.routes.users())},onError:s=>{t.toast.error(s.message)}}),i=s=>{a({variables:{input:s}})};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 User"})}),e.jsx("div",{className:"rw-segment-main",children:e.jsx(d,{onSave:i,loading:o,error:n})})]})},j=()=>e.jsx(l,{});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.