From c5961acbb5d2facfadb907225dbd4956e69d664e Mon Sep 17 00:00:00 2001 From: Adrian Date: Tue, 28 Jan 2025 19:57:21 -0600 Subject: [PATCH] removed trailing characters --- config.go | 2 +- ui/src/components/USBConfigDialog.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index cf82b50..25defc6 100644 --- a/config.go +++ b/config.go @@ -42,7 +42,7 @@ var defaultConfig = &Config{ VirtualMediaEnabled: true, UsbConfig: UsbConfig{ VendorId: "0x1d6b", //The Linux Foundation - ProductId: "0x0104", //Multifunction Composite Gadget¬ + ProductId: "0x0104", //Multifunction Composite Gadget SerialNumber: "", Manufacturer: "JetKVM", Product: "JetKVM USB Emulation Device", diff --git a/ui/src/components/USBConfigDialog.tsx b/ui/src/components/USBConfigDialog.tsx index ea86f8a..e9ba5f2 100644 --- a/ui/src/components/USBConfigDialog.tsx +++ b/ui/src/components/USBConfigDialog.tsx @@ -39,7 +39,7 @@ export function Dialog({ setOpen }: { setOpen: (open: boolean) => void }) { const handleUsbConfigChange = useCallback((usbConfig: object) => { send("setUsbConfig", { usbConfig }, resp => { if ("error" in resp) { - setError(`Failed to update USB Config: ${resp.error.data || "Unknown error"}`,); + setError(`Failed to update USB Config: ${resp.error.data || "Unknown error"}`); return; } setModalView("updateUsbConfigSuccess");