mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 22:35:51 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -1,17 +1,14 @@
|
||||
import React from 'react'
|
||||
import { Box, Dialog, Link, Text } from '@anthropic/ink'
|
||||
import { Select } from './CustomSelect/index.js'
|
||||
import React from 'react';
|
||||
import { Box, Dialog, Link, Text } from '@anthropic/ink';
|
||||
import { Select } from './CustomSelect/index.js';
|
||||
|
||||
type Props = {
|
||||
onDone: () => void
|
||||
}
|
||||
onDone: () => void;
|
||||
};
|
||||
|
||||
export function CostThresholdDialog({ onDone }: Props): React.ReactNode {
|
||||
return (
|
||||
<Dialog
|
||||
title="You've spent $5 on the Anthropic API this session."
|
||||
onCancel={onDone}
|
||||
>
|
||||
<Dialog title="You've spent $5 on the Anthropic API this session." onCancel={onDone}>
|
||||
<Box flexDirection="column">
|
||||
<Text>Learn more about how to monitor your spending:</Text>
|
||||
<Link url="https://code.claude.com/docs/en/costs" />
|
||||
@@ -26,5 +23,5 @@ export function CostThresholdDialog({ onDone }: Props): React.ReactNode {
|
||||
onChange={onDone}
|
||||
/>
|
||||
</Dialog>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user