chore: format

This commit is contained in:
Timothy J. Baek 2024-06-25 16:31:33 -07:00
parent 6cd47a3c9b
commit bc5e39d31b

View File

@ -21,7 +21,9 @@
let filteredModels = [];
$: filteredModels = $models
.filter((p) => p.name.toLowerCase().includes(prompt.toLowerCase().split(' ')?.at(0)?.substring(1) ?? ''))
.filter((p) =>
p.name.toLowerCase().includes(prompt.toLowerCase().split(' ')?.at(0)?.substring(1) ?? '')
)
.sort((a, b) => a.name.localeCompare(b.name));
$: if (prompt) {