Skip to content

Commit

Permalink
fix(frontend): delete source before processing using zod
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Aug 28, 2024
1 parent 3abd10a commit 1d537a3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export const action = unstable_defineAction(async ({ request }) => {
return namedAction(request, {
deployImport: async () => {
const source = formData.get("source") as ImportSource;
formData.delete("source");
const values = await match(source)
.with(
ImportSource.StoryGraph,
Expand Down

0 comments on commit 1d537a3

Please sign in to comment.