Fix lint bugs

This commit is contained in:
Jack Kingsman
2026-04-06 20:36:47 -07:00
parent 08eaf090b2
commit eeaa11b8b0
3 changed files with 4 additions and 10 deletions

View File

@@ -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,

View File

@@ -423,14 +423,11 @@ function RepeaterGroup({
</CommandItem>,
<CommandItem
key={`${c.public_key}-acl`}
onSelect={() =>
onSelect(() => onRepeaterAutoLogin(c.public_key, displayName))
}
onSelect={() => onSelect(() => onRepeaterAutoLogin(c.public_key, displayName))}
>
<Waypoints className="text-muted-foreground" />
<span>
{displayName}{' '}
<span className="text-muted-foreground">(ACL login + load all)</span>
{displayName} <span className="text-muted-foreground">(ACL login + load all)</span>
</span>
</CommandItem>,
])}

View File

@@ -22,10 +22,7 @@ const Command = React.forwardRef<
));
Command.displayName = CommandPrimitive.displayName;
function CommandDialog({
children,
...props
}: React.ComponentProps<typeof Dialog>) {
function CommandDialog({ children, ...props }: React.ComponentProps<typeof Dialog>) {
return (
<Dialog {...props}>
<DialogContent className="overflow-hidden p-0 shadow-lg" hideCloseButton>