Sites & Network Finally Statement

This commit is contained in:
headlesdev
2025-05-20 20:06:32 +02:00
parent 4f182ca21d
commit b4d43bc0dd
5 changed files with 47 additions and 45 deletions

View File

@@ -41,6 +41,11 @@ export default function AddNetwork({ onNetworkAdded, siteId }: AddNetworkProps)
}
} catch (apiError: any) {
setError(apiError)
} finally {
setName("")
setIpv4Subnet("")
setIpv6Subnet("")
setGateway("")
}
};