mirror of
https://github.com/beilunyang/moemail.git
synced 2026-09-06 15:56:36 +08:00
fix: eslint error
This commit is contained in:
@@ -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
|
点击上方的创建 "API Key" 按钮来创建你的第一个 API Key
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user