mirror of https://github.com/jetkvm/kvm.git
fix: remove unused error message
This commit is contained in:
parent
f56f1d94e3
commit
cb56007eba
|
|
@ -178,9 +178,8 @@ export default function SettingsNetworkRoute() {
|
|||
|
||||
try {
|
||||
const networkData = await fetchNetworkData();
|
||||
if (!networkData) {
|
||||
return notifications.error("Failed to fetch network data");
|
||||
}
|
||||
if (!networkData) return
|
||||
|
||||
reset(networkData.settings);
|
||||
notifications.success("Network settings saved");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue