+
{invitations &&
invitations.map((invitation) => {
const isSelected = invitationsRespond.includes(invitation.id);
@@ -146,7 +146,11 @@ export const JoinWorkspaces: React.FC
= ({ stepChange }) => {
>
Accept & Join
-
+
Skip for now
diff --git a/apps/app/constants/graph.ts b/apps/app/constants/graph.ts
index d4227804b3..e176a24056 100644
--- a/apps/app/constants/graph.ts
+++ b/apps/app/constants/graph.ts
@@ -17,12 +17,12 @@ export const CHARTS_THEME: Theme = {
background: "rgb(var(--color-background-80))",
color: "rgb(var(--color-text-200))",
fontSize: "0.8rem",
- border: "1px solid rgb(var(--color-background-80))",
+ border: "1px solid rgb(var(--color-border-300))",
},
},
grid: {
line: {
- stroke: "rgb(var(--color-background-80))",
+ stroke: "rgb(var(--color-border-100))",
},
},
};
diff --git a/apps/app/pages/index.tsx b/apps/app/pages/index.tsx
index 121bd9f701..6cef211c03 100644
--- a/apps/app/pages/index.tsx
+++ b/apps/app/pages/index.tsx
@@ -145,11 +145,11 @@ const HomePage: NextPage = () => {
Sign in to Plane
-
+
-
+
diff --git a/apps/app/pages/invitations.tsx b/apps/app/pages/invitations.tsx
index e93fabd17e..40a687ff68 100644
--- a/apps/app/pages/invitations.tsx
+++ b/apps/app/pages/invitations.tsx
@@ -105,91 +105,93 @@ const OnBoard: NextPage = () => {
{user?.email}
- {invitations && invitations.length > 0 ? (
-
-
-
We see that someone has invited you to
-
Join a workspace
-
- {invitations.map((invitation) => {
- const isSelected = invitationsRespond.includes(invitation.id);
+ {invitations ? (
+ invitations.length > 0 ? (
+
+
+
We see that someone has invited you to
+
Join a workspace
+
+ {invitations.map((invitation) => {
+ const isSelected = invitationsRespond.includes(invitation.id);
- return (
-
- handleInvitation(invitation, isSelected ? "withdraw" : "accepted")
- }
- >
-
-
- {invitation.workspace.logo && invitation.workspace.logo !== "" ? (
-

- ) : (
-
- {invitation.workspace.name[0]}
-
- )}
-
-
-
-
- {truncateText(invitation.workspace.name, 30)}
-
-
{ROLE[invitation.role]}
-
-
+ handleInvitation(invitation, isSelected ? "withdraw" : "accepted")
+ }
>
-
-
-
- );
- })}
-
-
-
- Accept & Join
-
-
-
-
- Go Home
-
-
-
+
+
+ {invitation.workspace.logo && invitation.workspace.logo !== "" ? (
+

+ ) : (
+
+ {invitation.workspace.name[0]}
+
+ )}
+
+
+
+
+ {truncateText(invitation.workspace.name, 30)}
+
+
{ROLE[invitation.role]}
+
+
+
+
+
+ );
+ })}
+
+
-
- ) : (
-
- router.push("/")}
- />
-
- )}
+ ) : (
+
+ router.push("/")}
+ />
+
+ )
+ ) : null}