mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: unwanted go back button in onboarding step 2 (#2714)
This commit is contained in:
parent
5a3bac998e
commit
6ebee05951
@ -212,9 +212,11 @@ export const CreateWorkspaceForm: FC<Props> = observer((props) => {
|
|||||||
<Button variant="primary" type="submit" size="md" disabled={!isValid} loading={isSubmitting}>
|
<Button variant="primary" type="submit" size="md" disabled={!isValid} loading={isSubmitting}>
|
||||||
{isSubmitting ? primaryButtonText.loading : primaryButtonText.default}
|
{isSubmitting ? primaryButtonText.loading : primaryButtonText.default}
|
||||||
</Button>
|
</Button>
|
||||||
|
{!secondaryButton && (
|
||||||
<Button variant="neutral-primary" type="button" size="md" onClick={() => router.back()}>
|
<Button variant="neutral-primary" type="button" size="md" onClick={() => router.back()}>
|
||||||
Go back
|
Go back
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user