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 { useJsonRpc } from "@/hooks/useJsonRpc";
|
||||||
import { useUsbConfigModalStore } from "@/hooks/stores";
|
import { useUsbConfigModalStore } from "@/hooks/stores";
|
||||||
|
|
||||||
export default function UsbConfigDialog({
|
export default function USBConfigDialog({
|
||||||
open,
|
open,
|
||||||
setOpen,
|
setOpen,
|
||||||
}: {
|
}: {
|
|
@ -25,7 +25,7 @@ import LocalAuthPasswordDialog from "@/components/LocalAuthPasswordDialog";
|
||||||
import { LocalDevice } from "@routes/devices.$id";
|
import { LocalDevice } from "@routes/devices.$id";
|
||||||
import { useRevalidator } from "react-router-dom";
|
import { useRevalidator } from "react-router-dom";
|
||||||
import { ShieldCheckIcon } from "@heroicons/react/20/solid";
|
import { ShieldCheckIcon } from "@heroicons/react/20/solid";
|
||||||
import UsbConfigDialog from "@components/UsbConfigDialog";
|
import USBConfigDialog from "@components/USBConfigDialog";
|
||||||
|
|
||||||
export function SettingsItem({
|
export function SettingsItem({
|
||||||
title,
|
title,
|
||||||
|
@ -921,7 +921,7 @@ export default function SettingsSidebar() {
|
||||||
setIsLocalAuthDialogOpen(x);
|
setIsLocalAuthDialogOpen(x);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<UsbConfigDialog
|
<USBConfigDialog
|
||||||
open={isUsbConfigDialogOpen}
|
open={isUsbConfigDialogOpen}
|
||||||
setOpen={x => {
|
setOpen={x => {
|
||||||
// Revalidate the current route to refresh the local device status and dependent UI components
|
// Revalidate the current route to refresh the local device status and dependent UI components
|
||||||
|
|
Loading…
Reference in New Issue