chore(ui): format

Lots of changed bc the line length is now 120. May as well do it now.
This commit is contained in:
psychedelicious
2024-01-27 20:55:55 +11:00
parent b922ee566a
commit 189c430e46
568 changed files with 3602 additions and 11172 deletions

View File

@@ -13,9 +13,7 @@ export const useAddControlAdapter = (type: ControlAdapterType) => {
const firstModel = useMemo(() => {
// prefer to use a model that matches the base model
const firstCompatibleModel = models.filter((m) =>
baseModel ? m.base_model === baseModel : true
)[0];
const firstCompatibleModel = models.filter((m) => (baseModel ? m.base_model === baseModel : true))[0];
if (firstCompatibleModel) {
return firstCompatibleModel;