mirror of https://github.com/jetkvm/kvm.git
renamed module to match convention
This commit is contained in:
parent
2e7493c9d1
commit
ac1403defc
|
@ -8,7 +8,7 @@ import { InputFieldWithLabel } from "./InputField";
|
|||
import { useJsonRpc } from "@/hooks/useJsonRpc";
|
||||
import { useUsbConfigModalStore } from "@/hooks/stores";
|
||||
|
||||
export default function UsbConfigDialog({
|
||||
export default function USBConfigDialog({
|
||||
open,
|
||||
setOpen,
|
||||
}: {
|
|
@ -25,7 +25,7 @@ import LocalAuthPasswordDialog from "@/components/LocalAuthPasswordDialog";
|
|||
import { LocalDevice } from "@routes/devices.$id";
|
||||
import { useRevalidator } from "react-router-dom";
|
||||
import { ShieldCheckIcon } from "@heroicons/react/20/solid";
|
||||
import UsbConfigDialog from "@components/UsbConfigDialog";
|
||||
import USBConfigDialog from "@components/USBConfigDialog";
|
||||
|
||||
export function SettingsItem({
|
||||
title,
|
||||
|
@ -921,7 +921,7 @@ export default function SettingsSidebar() {
|
|||
setIsLocalAuthDialogOpen(x);
|
||||
}}
|
||||
/>
|
||||
<UsbConfigDialog
|
||||
<USBConfigDialog
|
||||
open={isUsbConfigDialogOpen}
|
||||
setOpen={x => {
|
||||
// Revalidate the current route to refresh the local device status and dependent UI components
|
||||
|
|
Loading…
Reference in New Issue