Closed cwisdo closed 1 year ago
Not sure if you can see the vercel error, but it's this:
./src/component/ElectionForm.tsx:583:15
--
10:23:27.630 | Type error: Type '{ trackState: Maybe<ElectionCreate \| Election>; key: string; disabled: boolean; disabledMessage: string; instructions: string; onLoadFile: (file: File) => Promise<...>; }' is not assignable to type 'IntrinsicAttributes & FileUploadParams'.
10:23:27.630 | Property 'trackState' does not exist on type 'IntrinsicAttributes & FileUploadParams'.
10:23:27.630 |
10:23:27.630 | 581 \| <>
10:23:27.630 | 582 \| <FileUpload
10:23:27.630 | > 583 \| trackState={data}
10:23:27.630 | \| ^
10:23:27.630 | 584 \| key="edf-upload"
10:23:27.630 | 585 \| disabled={!election \|\| election?.edfSet}
10:23:27.630 | 586 \| disabledMessage="EDF upload disabled:Election Definition File already set"
10:23:27.664 | error Command failed with exit code 1.
10:23:27.665 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
10:23:27.685 | Error: Command "yarn build" exited with 1
Crap I thought I got that.
Chris Wisdo President, Gnaritas https://www.gnaritas.com
On Mon, Feb 6, 2023 at 10:32 AM amekelburg @.***> wrote:
Not sure if you can see the vercel error, but it's this:
./src/component/ElectionForm.tsx:583:15
--
10:23:27.630 | Type error: Type '{ trackState: Maybe<ElectionCreate | Election>; key: string; disabled: boolean; disabledMessage: string; instructions: string; onLoadFile: (file: File) => Promise<...>; }' is not assignable to type 'IntrinsicAttributes & FileUploadParams'.
10:23:27.630 | Property 'trackState' does not exist on type 'IntrinsicAttributes & FileUploadParams'.
10:23:27.630 |
10:23:27.630 | 581 | <>
10:23:27.630 | 582 | <FileUpload
10:23:27.630 | > 583 | trackState={data}
10:23:27.630 | | ^
10:23:27.630 | 584 | key="edf-upload"
10:23:27.630 | 585 | disabled={!election || election?.edfSet}
10:23:27.630 | 586 | disabledMessage="EDF upload disabled:Election Definition File already set"
10:23:27.664 | error Command failed with exit code 1.
10:23:27.665 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
10:23:27.685 | Error: Command "yarn build" exited with 1
— Reply to this email directly, view it on GitHub https://github.com/TrustTheVote-Project/ABC-backend/pull/115#issuecomment-1419274924, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJYICYTG6A3O3IWAXIHFD3WWEKPLANCNFSM6AAAAAAUQWKXWQ . You are receiving this because you authored the thread.Message ID: @.***>
The latest updates on your projects. Learn more about Vercel for Git ↗︎