Skip to content

Commit b35f0ec

Browse files
committed
fix(settings): swap copy and regenerate button positions in Auth Token input
1 parent b8c05f8 commit b35f0ec

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/components/organisms/settings/McpServerSection.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,16 +115,16 @@ export function McpServerSection({
115115
/>
116116
<div className="absolute top-1/2 right-1 -translate-y-1/2">
117117
<IconButton
118-
aria-label="Generate new token"
119-
icon={<RefreshCw className="size-3.5" />}
120-
onClick={onGenerateToken}
118+
aria-label="Copy token"
119+
icon={<Copy className="size-3.5" />}
120+
onClick={handleCopyToken}
121121
/>
122122
</div>
123123
</div>
124124
<IconButton
125-
aria-label="Copy token"
126-
icon={<Copy className="size-3.5" />}
127-
onClick={handleCopyToken}
125+
aria-label="Generate new token"
126+
icon={<RefreshCw className="size-3.5" />}
127+
onClick={onGenerateToken}
128128
/>
129129
</div>
130130
{tokenError && <ErrorBanner className="mt-2">{tokenError}</ErrorBanner>}

0 commit comments

Comments
 (0)