prettier: format project

This commit is contained in:
James Xylight committed 2025-09-06 22:25:07 -07:00
1 parent e7dd3e8dac
commit cbd27a38a0
94 files changed
+261 -252

No files matched your search

+3 -3
View File
@@ -32,8 +32,8 @@
const context = getContext<SelectContext>('select')
$effect(() => {
if ($locale || !context.options.find(v => v == option)) {
const index = context.options.findIndex(i => i.value == option.value)
if ($locale || !context.options.find((v) => v == option)) {
const index = context.options.findIndex((i) => i.value == option.value)
if (index != -1) {
context.options.splice(index, 1, option)
@@ -44,7 +44,7 @@
})
onDestroy(() => {
const index = context.options.findIndex(i => i.value == option.value)
const index = context.options.findIndex((i) => i.value == option.value)
if (index != -1) {
context.options.splice(index, 1)
}