Fix inert type to boolean and apply linter formatting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8e73bc6ffb
commit
bf31ae6cfc
3 changed files with 8 additions and 7 deletions
|
|
@ -7,7 +7,7 @@ const meta: Meta<typeof ServerCard> = {
|
|||
component: ServerCard,
|
||||
args: {
|
||||
onToggleConnection: fn(),
|
||||
onSetConnectingServer: fn(),
|
||||
onSetActiveServer: fn(),
|
||||
onServerInfo: fn(),
|
||||
onSettings: fn(),
|
||||
onEdit: fn(),
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ export function ServerCard({
|
|||
padding="lg"
|
||||
opacity={isDimmed ? 0.4 : 1}
|
||||
style={isDimmed ? { pointerEvents: "none" } : undefined}
|
||||
{...(isDimmed ? { "aria-disabled": true, inert: "" } : {})}
|
||||
{...(isDimmed ? { "aria-disabled": true, inert: true } : {})}
|
||||
>
|
||||
<Stack gap="sm">
|
||||
<Group justify="space-between" wrap="wrap">
|
||||
|
|
|
|||
|
|
@ -133,7 +133,10 @@ export function ViewHeader(props: ViewHeaderProps) {
|
|||
</CenterSection>
|
||||
|
||||
<RightSection>
|
||||
<ServerStatusIndicator status={props.status} latencyMs={props.latencyMs} />
|
||||
<ServerStatusIndicator
|
||||
status={props.status}
|
||||
latencyMs={props.latencyMs}
|
||||
/>
|
||||
<DisconnectButton onClick={props.onDisconnect}>
|
||||
Disconnect
|
||||
</DisconnectButton>
|
||||
|
|
|
|||
Loading…
Reference in a new issue