配置 mdx 与 turbopack 继承;修复退出登录后循环跳转的问题;button 统一复用可导出样式并微调样式
This commit is contained in:
@@ -231,7 +231,7 @@ export default function WhitelistPage(props: WhitelistPageProps) {
|
||||
添加白名单
|
||||
</Button>
|
||||
<Button
|
||||
theme={`error`}
|
||||
theme={`fail`}
|
||||
className={`ml-2`}
|
||||
disabled={selection.size === 0 || wait}
|
||||
onClick={() => confirmRemove()}>
|
||||
@@ -277,7 +277,7 @@ export default function WhitelistPage(props: WhitelistPageProps) {
|
||||
<Button
|
||||
className={`h-9 w-9`}
|
||||
onClick={() => confirmRemove(row.original.id)}
|
||||
theme={`error`}
|
||||
theme={`fail`}
|
||||
disabled={wait}
|
||||
>
|
||||
<Trash2 className="w-4 h-4"/>
|
||||
@@ -332,7 +332,7 @@ export default function WhitelistPage(props: WhitelistPageProps) {
|
||||
</AlertDialogHeader>
|
||||
<AlertDialogFooter>
|
||||
<Button theme="outline" onClick={() => setAlertVisible(false)}>取消</Button>
|
||||
<Button theme="error" onClick={() => remove()}>删除</Button>
|
||||
<Button theme="fail" onClick={() => remove()}>删除</Button>
|
||||
</AlertDialogFooter>
|
||||
</AlertDialogContent>
|
||||
</AlertDialog>
|
||||
|
||||
Reference in New Issue
Block a user