mirror of https://github.com/jetkvm/kvm.git
fix: useRef TS2554
This commit is contained in:
parent
7cd3d32926
commit
a8245ea09e
|
@ -77,7 +77,7 @@ export default function SettingsNetworkRoute() {
|
|||
useState<NetworkSettings>(defaultNetworkSettings);
|
||||
|
||||
// We use this to determine whether the settings have changed
|
||||
const firstNetworkSettings = useRef<NetworkSettings>();
|
||||
const firstNetworkSettings = useRef<NetworkSettings | undefined>(undefined);
|
||||
|
||||
const [networkSettingsLoaded, setNetworkSettingsLoaded] = useState(false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue