From eeaa11b8b095b37bf3c7a1a19642adb365325e89 Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Mon, 6 Apr 2026 20:36:47 -0700 Subject: [PATCH] Fix lint bugs --- app/radio_sync.py | 2 +- frontend/src/components/CommandPalette.tsx | 7 ++----- frontend/src/components/ui/command.tsx | 5 +---- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/app/radio_sync.py b/app/radio_sync.py index 4d769a3..868ee08 100644 --- a/app/radio_sync.py +++ b/app/radio_sync.py @@ -21,7 +21,7 @@ from meshcore import EventType, MeshCore from app.channel_constants import PUBLIC_CHANNEL_KEY, PUBLIC_CHANNEL_NAME from app.config import settings from app.event_handlers import cleanup_expired_acks, on_contact_message -from app.models import Contact, ContactUpsert, _VALID_CONTACT_TYPES +from app.models import _VALID_CONTACT_TYPES, Contact, ContactUpsert from app.radio import RadioOperationBusyError from app.repository import ( AmbiguousPublicKeyPrefixError, diff --git a/frontend/src/components/CommandPalette.tsx b/frontend/src/components/CommandPalette.tsx index da31ffd..54e8ae8 100644 --- a/frontend/src/components/CommandPalette.tsx +++ b/frontend/src/components/CommandPalette.tsx @@ -423,14 +423,11 @@ function RepeaterGroup({ , - onSelect(() => onRepeaterAutoLogin(c.public_key, displayName)) - } + onSelect={() => onSelect(() => onRepeaterAutoLogin(c.public_key, displayName))} > - {displayName}{' '} - (ACL login + load all) + {displayName} (ACL login + load all) , ])} diff --git a/frontend/src/components/ui/command.tsx b/frontend/src/components/ui/command.tsx index cdfc020..2bd5202 100644 --- a/frontend/src/components/ui/command.tsx +++ b/frontend/src/components/ui/command.tsx @@ -22,10 +22,7 @@ const Command = React.forwardRef< )); Command.displayName = CommandPrimitive.displayName; -function CommandDialog({ - children, - ...props -}: React.ComponentProps) { +function CommandDialog({ children, ...props }: React.ComponentProps) { return (