chore(striker-ui): identify missing handler for netmask error

This commit is contained in:
Tsu-ba-me 2023-02-13 16:51:29 -05:00
parent 9ba920867c
commit 126b9b33e3

View File

@ -681,6 +681,7 @@ const NetworkInitForm = forwardRef<
try { try {
subnet = new Netmask(`${ip}/${mask}`); subnet = new Netmask(`${ip}/${mask}`);
// TODO: find a way to express the netmask creation error
// eslint-disable-next-line no-empty // eslint-disable-next-line no-empty
} catch (netmaskError) {} } catch (netmaskError) {}
@ -702,6 +703,7 @@ const NetworkInitForm = forwardRef<
isMatch = match(otherSubnet, { b: subnet, bIP: ip }); isMatch = match(otherSubnet, { b: subnet, bIP: ip });
// TODO: find a way to express the netmask creation error
// eslint-disable-next-line no-empty // eslint-disable-next-line no-empty
} catch (netmaskError) {} } catch (netmaskError) {}