refactor: replace ui components with plane ui components (#2626)
* refactor: replace button component with plane ui component and remove old button component * refactor: replace dropdown component with plane ui component * refactor: replace tooltip, input, textarea, spinner and loader component with plane ui component * refactor: plane ui code refactor
This commit is contained in:
parent
737fea28c6
commit
f639e467f8
33 changed files with 85 additions and 178 deletions
|
|
@ -4,7 +4,7 @@ import Link from "next/link";
|
|||
import useSWR from "swr";
|
||||
import { observer } from "mobx-react-lite";
|
||||
// icons
|
||||
import { Spinner, PrimaryButton, SecondaryButton } from "components/ui";
|
||||
import { Button, Spinner } from "@plane/ui";
|
||||
// hooks
|
||||
import { useMobxStore } from "lib/mobx/store-provider";
|
||||
|
||||
|
|
@ -67,12 +67,16 @@ export const WorkspaceAuthWrapper: FC<IWorkspaceAuthWrapper> = observer((props)
|
|||
<div className="flex items-center justify-center gap-2">
|
||||
<Link href="/invitations">
|
||||
<a>
|
||||
<SecondaryButton>Check pending invites</SecondaryButton>
|
||||
<Button variant="neutral-primary" size="sm">
|
||||
Check pending invites
|
||||
</Button>
|
||||
</a>
|
||||
</Link>
|
||||
<Link href="/create-workspace">
|
||||
<a>
|
||||
<PrimaryButton>Create new workspace</PrimaryButton>
|
||||
<Button variant="primary" size="sm">
|
||||
Create new workspace
|
||||
</Button>
|
||||
</a>
|
||||
</Link>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue