Skip to content

armgit / VERT

Public Imported from GitHub
0

The next-generation file converter. Open source, fully local* and free forever.

Make formats appear once in array

JovannMCd0c608dea411
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 73bae9d..6f63688 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -86,7 +86,7 @@
isMobile={data.isMobile}
bind:files={ourFiles}
onupload={runUpload}
- acceptedFormats={converters.flatMap((c) => c.supportedFormats)}
+ acceptedFormats={[...new Set(converters.flatMap((c) => c.supportedFormats))]}
/>
</div>