mirror of https://github.com/jetkvm/kvm.git
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
ef7e662fdf
commit
daeb9e3599
|
|
@ -16,8 +16,7 @@ import { SystemVersionInfo } from "@/utils/jsonrpc";
|
|||
export default function SettingsGeneralUpdateRoute() {
|
||||
const navigate = useNavigate();
|
||||
const location = useLocation();
|
||||
//@ts-ignore
|
||||
const [searchParams, setSearchParams] = useSearchParams();
|
||||
const [searchParams] = useSearchParams();
|
||||
const { updateSuccess } = location.state || {};
|
||||
|
||||
const { setModalView, otaState } = useUpdateStore();
|
||||
|
|
|
|||
Loading…
Reference in New Issue