feat: update onboarding flow
This commit is contained in:
@@ -52,7 +52,7 @@ export function LoginWithNsecbunker() {
|
||||
privkey: localSigner.privateKey,
|
||||
});
|
||||
|
||||
return navigate("/auth/onboarding");
|
||||
return navigate("/auth/onboarding", { replace: true });
|
||||
} catch (e) {
|
||||
setLoading(false);
|
||||
setError("npub", {
|
||||
@@ -93,7 +93,7 @@ export function LoginWithNsecbunker() {
|
||||
</div>
|
||||
<button
|
||||
type="submit"
|
||||
disabled={!isValid}
|
||||
disabled={!isValid || loading}
|
||||
className="inline-flex items-center justify-center w-full text-lg h-12 font-medium text-white bg-blue-500 rounded-xl hover:bg-blue-600 disabled:opacity-50"
|
||||
>
|
||||
{loading ? (
|
||||
|
||||
Reference in New Issue
Block a user