fix: useRef TS2554

This commit is contained in:
Siyuan Miao 2025-05-14 14:43:11 +02:00
parent 7cd3d32926
commit a8245ea09e
1 changed files with 1 additions and 1 deletions

View File

@ -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);