Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Dec 5, 2023
1 parent 4b58b03 commit 4c8dec9
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions agenta-web/src/pages/apps/[app_id]/testsets/new/upload/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,13 @@ export default function AddANewTestset() {
try {
setUploadLoading(true)
// TODO: move to api.ts
await axios.post(
`${getAgentaApiUrl()}/api/testsets/upload/`,
formData,
{
headers: {
"Content-Type": "multipart/form-data",
},
//@ts-ignore
_ignoreError: true,
await axios.post(`${getAgentaApiUrl()}/api/testsets/upload/`, formData, {
headers: {
"Content-Type": "multipart/form-data",
},
)
//@ts-ignore
_ignoreError: true,
})
form.resetFields()
router.push(`/apps/${appId}/testsets`)
} catch (e: any) {
Expand Down

0 comments on commit 4c8dec9

Please sign in to comment.