mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 14:25:51 +00:00
fix: 修复CI格式检查失败
This commit is contained in:
@@ -458,8 +458,7 @@ function OAuthStatusMessage({
|
||||
{
|
||||
label: (
|
||||
<Text>
|
||||
ChatGPT account with subscription ·{' '}
|
||||
<Text dimColor>Plus, Pro, Business, Edu, or Enterprise</Text>
|
||||
ChatGPT account with subscription · <Text dimColor>Plus, Pro, Business, Edu, or Enterprise</Text>
|
||||
{'\n'}
|
||||
</Text>
|
||||
),
|
||||
|
||||
@@ -176,21 +176,11 @@ export function ModelPicker({
|
||||
(direction: 'left' | 'right') => {
|
||||
if (!focusedSupportsEffort) return;
|
||||
setEffort(prev =>
|
||||
cycleEffortLevel(
|
||||
prev ?? focusedDefaultEffort,
|
||||
direction,
|
||||
focusedSupportsXhigh,
|
||||
focusedSupportsMax,
|
||||
),
|
||||
cycleEffortLevel(prev ?? focusedDefaultEffort, direction, focusedSupportsXhigh, focusedSupportsMax),
|
||||
);
|
||||
setHasToggledEffort(true);
|
||||
},
|
||||
[
|
||||
focusedSupportsEffort,
|
||||
focusedSupportsXhigh,
|
||||
focusedSupportsMax,
|
||||
focusedDefaultEffort,
|
||||
],
|
||||
[focusedSupportsEffort, focusedSupportsXhigh, focusedSupportsMax, focusedDefaultEffort],
|
||||
);
|
||||
|
||||
useKeybindings(
|
||||
|
||||
Reference in New Issue
Block a user