mirror of https://github.com/VERT-sh/VERT.git
Make formats appear once in array
This doesn't cause any issues but just in case: this ensures the formats only appear once in the array instead of having multiple of the same (by using a set) probably unnecessary but, lol
This commit is contained in:
parent
71e26cc3c3
commit
d0c608dea4
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue