fix: eslint error

This commit is contained in:
beilunyang
2025-02-10 11:31:11 +08:00
parent 9ad3115833
commit e23e8170b9
+3 -1
View File
@@ -120,6 +120,7 @@ export function ApiKeyPanel() {
) )
) )
} catch (error) { } catch (error) {
console.error(error)
toast({ toast({
title: "更新失败", title: "更新失败",
description: "更新 API Key 状态失败", description: "更新 API Key 状态失败",
@@ -142,6 +143,7 @@ export function ApiKeyPanel() {
description: "API Key 已删除" description: "API Key 已删除"
}) })
} catch (error) { } catch (error) {
console.error(error)
toast({ toast({
title: "删除失败", title: "删除失败",
description: "删除 API Key 失败", description: "删除 API Key 失败",
@@ -270,7 +272,7 @@ export function ApiKeyPanel() {
<div> <div>
<h3 className="text-lg font-medium"> API Keys</h3> <h3 className="text-lg font-medium"> API Keys</h3>
<p className="text-sm text-muted-foreground mt-1"> <p className="text-sm text-muted-foreground mt-1">
"创建 API Key" API Key &quot;API Key&quot; API Key
</p> </p>
</div> </div>
</div> </div>