fix:fix bug
This commit is contained in:
@@ -14,7 +14,7 @@ const Appearance = () => {
|
||||
</Heading>
|
||||
|
||||
<RadioGroup
|
||||
onValueChange={(e) => setTheme(e.value)}
|
||||
onValueChange={(e) => setTheme(e.value || '')}
|
||||
value={theme}
|
||||
colorPalette="teal"
|
||||
>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createFileRoute } from "@tanstack/react-router"
|
||||
import React, { useState } from "react"
|
||||
import { useState } from "react"
|
||||
import { Input, Button, Card, Spin, message, Typography, Space } from "antd"
|
||||
import { UtilsService } from "@/client"
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@ function ItemsTable() {
|
||||
|
||||
const setPage = (page: number) =>
|
||||
navigate({
|
||||
//@ts-ignore
|
||||
search: (prev: { [key: string]: string }) => ({ ...prev, page }),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user