<button type="submit" className="w-full cursor-pointer disabled={isloading}>
{isLoading ? <Loader2Icon className="size-4 animate-spin"?> : " Continue"}
</button>
<Button type="submit" disabled={isLoading}>Continue</Button>
This are the fixe of button in React