Skip to content

Commit

Permalink
feat(frontend): allow uploading for hevy
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Dec 11, 2024
1 parent 7280ed1 commit a1a7d1e
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,11 @@ export const action = async ({ request }: ActionFunctionArgs) => {
formData.delete("source");
const values = await match(source)
.with(
ImportSource.Storygraph,
ImportSource.Hevy,
ImportSource.Imdb,
ImportSource.Goodreads,
ImportSource.OpenScale,
ImportSource.Goodreads,
ImportSource.Storygraph,
() => ({
genericCsv: processSubmission(formData, genericCsvImportFormSchema),
}),
Expand Down Expand Up @@ -270,9 +271,10 @@ export default function Page() {
),
)
.with(
ImportSource.Hevy,
ImportSource.Imdb,
ImportSource.OpenScale,
ImportSource.Goodreads,
ImportSource.Imdb,
ImportSource.Storygraph,
() => (
<>
Expand Down

0 comments on commit a1a7d1e

Please sign in to comment.