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
80602cadf6
commit
d927fe313a
|
@ -77,7 +77,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