Skip to content

Commit

Permalink
fix: removed unnecessary CTAs for creating new lists/insights (#2075)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickytonline authored Nov 8, 2023
1 parent e1f3804 commit e1c5617
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions pages/hub/insights/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useEffect } from "react";
import Link from "next/link";
import { useRouter } from "next/router";
import clsx from "clsx";

Expand Down Expand Up @@ -85,12 +84,6 @@ const InsightsHub: WithPageLayout = () => {
return <InsightRow key={`insights_${insight.id}`} user={user} insight={insight} />;
})
)}
<Link
href={"/hub/insights/new"}
className="w-full py-5 text-lg text-center border rounded-lg bg-light-slate-4 text-light-slate-11 md:py-8 lg:py-10 border-light-slate-7"
>
Create a new Insights Page
</Link>
</section>

<div
Expand Down
7 changes: 0 additions & 7 deletions pages/hub/lists/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useState } from "react";
import clsx from "clsx";
import Link from "next/link";

import { WithPageLayout } from "interfaces/with-page-layout";
import HubLayout from "layouts/hub";
Expand Down Expand Up @@ -93,12 +92,6 @@ const ListsHub: WithPageLayout = () => {
)}

{isLoading && <SkeletonWrapper count={3} classNames="w-full" height={95} radius={10} />}
<Link
href={"/hub/lists/new"}
className="w-full py-5 text-lg text-center border rounded-lg bg-light-slate-4 text-light-slate-11 md:py-8 lg:py-10 border-light-slate-7"
>
Create a new List
</Link>
</section>
<div
className={clsx("py-1 md:py-4 flex w-full md:mt-5 justify-between items-center", {
Expand Down

0 comments on commit e1c5617

Please sign in to comment.