mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-29 16:14:43 +00:00
Sites & Network Finally Statement
This commit is contained in:
@@ -41,6 +41,11 @@ export default function AddNetwork({ onNetworkAdded, siteId }: AddNetworkProps)
|
||||
}
|
||||
} catch (apiError: any) {
|
||||
setError(apiError)
|
||||
} finally {
|
||||
setName("")
|
||||
setIpv4Subnet("")
|
||||
setIpv6Subnet("")
|
||||
setGateway("")
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user