Skip to content

Commit 3177e30

Browse files
committed
🤖 fix: apply linting fixes after merge
1 parent e765b13 commit 3177e30

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/components/Context1MCheckbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const Context1MCheckbox: React.FC<Context1MCheckboxProps> = ({ modelStrin
2222
1M Context
2323
</label>
2424
<TooltipWrapper inline>
25-
<span className="text-neutral-400 flex cursor-help items-center text-[10px] leading-none">?</span>
25+
<span className="flex cursor-help items-center text-[10px] leading-none text-neutral-400">?</span>
2626
<Tooltip className="tooltip" align="center" width="auto">
2727
Enable 1M token context window (beta feature for Claude Sonnet 4/4.5)
2828
</Tooltip>

src/components/NewWorkspaceModal.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const NewWorkspaceModal: React.FC<NewWorkspaceModalProps> = ({
163163
required
164164
aria-required="true"
165165
/>
166-
{error && <div className="text-red-400 mt-1.5 text-[13px]">{error}</div>}
166+
{error && <div className="mt-1.5 text-[13px] text-red-400">{error}</div>}
167167
</div>
168168

169169
<div className={formFieldClasses}>
@@ -196,7 +196,7 @@ const NewWorkspaceModal: React.FC<NewWorkspaceModalProps> = ({
196196
/>
197197
)}
198198
{!hasBranches && (
199-
<div className="text-red-400 mt-1.5 text-[13px]">
199+
<div className="mt-1.5 text-[13px] text-red-400">
200200
No branches were detected automatically. Enter the trunk branch manually.
201201
</div>
202202
)}
@@ -237,7 +237,7 @@ const NewWorkspaceModal: React.FC<NewWorkspaceModalProps> = ({
237237
required
238238
aria-required="true"
239239
/>
240-
<div className="text-neutral-400 mt-1.5 text-[13px]">
240+
<div className="mt-1.5 text-[13px] text-neutral-400">
241241
Workspace will be created at ~/cmux/{branchName || "<branch-name>"} on remote host
242242
</div>
243243
</div>
@@ -254,8 +254,8 @@ const NewWorkspaceModal: React.FC<NewWorkspaceModalProps> = ({
254254

255255
{branchName.trim() && (
256256
<div>
257-
<div className="text-neutral-400 mb-2 font-sans text-xs">Equivalent command:</div>
258-
<div className="bg-neutral-900 border-neutral-700 text-neutral-300 mt-5 rounded border p-3 font-mono text-[13px] break-all whitespace-pre-wrap">
257+
<div className="mb-2 font-sans text-xs text-neutral-400">Equivalent command:</div>
258+
<div className="mt-5 rounded border border-neutral-700 bg-neutral-900 p-3 font-mono text-[13px] break-all whitespace-pre-wrap text-neutral-300">
259259
{formatNewCommand(
260260
branchName.trim(),
261261
trunkBranch.trim() || undefined,

src/components/WorkspaceListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const WorkspaceListItemInner: React.FC<WorkspaceListItemProps> = ({
163163
>
164164
<TooltipWrapper inline>
165165
<button
166-
className="text-neutral-400 hover:text-foreground col-start-1 flex h-5 w-5 shrink-0 cursor-pointer items-center justify-center border-none bg-transparent p-0 text-base opacity-0 transition-all duration-200 hover:rounded-sm hover:bg-white/10"
166+
className="hover:text-foreground col-start-1 flex h-5 w-5 shrink-0 cursor-pointer items-center justify-center border-none bg-transparent p-0 text-base text-neutral-400 opacity-0 transition-all duration-200 hover:rounded-sm hover:bg-white/10"
167167
onClick={(e) => {
168168
e.stopPropagation();
169169
void onRemoveWorkspace(workspaceId, e.currentTarget);

0 commit comments

Comments
 (0)