Refactor add new host form
This commit is contained in:
@@ -35,9 +35,12 @@ export default function GrabNextSubnetButton({ onGrab }: Props) {
|
||||
color="primary"
|
||||
beforeIcon={<Wand2 size={16} />}
|
||||
loading={grabbing}
|
||||
onClick={grabNextSubnet}
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
grabNextSubnet();
|
||||
}}
|
||||
>
|
||||
Grab Next Subnet
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user