mirror of https://github.com/jetkvm/kvm.git
removed unused dep
This commit is contained in:
parent
c6ba93c46f
commit
e9096c36f7
|
@ -224,7 +224,7 @@ export default function SettingsSidebar() {
|
|||
return;
|
||||
}
|
||||
});
|
||||
}, [send, usbConfig]);
|
||||
}, [send]);
|
||||
|
||||
const handleSSHKeyChange = (newKey: string) => {
|
||||
setSSHKey(newKey);
|
||||
|
@ -636,7 +636,8 @@ export default function SettingsSidebar() {
|
|||
|
||||
<GridCard>
|
||||
<div className="flex items-start p-4 gap-x-4">
|
||||
<ShieldCheckIcon className="w-8 h-8 mt-1 text-blue-600 shrink-0 dark:text-blue-500" />
|
||||
<ShieldCheckIcon
|
||||
className="w-8 h-8 mt-1 text-blue-600 shrink-0 dark:text-blue-500"/>
|
||||
<div className="space-y-3">
|
||||
<div className="space-y-2">
|
||||
<h3 className="text-base font-bold text-slate-900 dark:text-white">
|
||||
|
@ -914,7 +915,9 @@ export default function SettingsSidebar() {
|
|||
theme="primary"
|
||||
text="Update USB Config"
|
||||
onClick={() => {
|
||||
if (Object.values(usbConfig).every(function(i) { return Boolean(i); })) {
|
||||
if (Object.values(usbConfig).every(function (i) {
|
||||
return Boolean(i);
|
||||
})) {
|
||||
handleUsbConfigChange(usbConfig);
|
||||
notifications.success("Successfully updated USB Config")
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue