Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update page-client.tsx

Kiran K6976d49b68a2
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/network/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/network/page-client.tsx
index 285fd053f8..0f13ed0a97 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/network/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/network/page-client.tsx
@@ -2,10 +2,6 @@
import { updateDiscoveredPartnerAction } from "@/lib/actions/partners/update-discovered-partner";
import { ONLINE_PRESENCE_FIELDS } from "@/lib/partners/online-presence";
-import {
- industryInterestsMap,
- salesChannelsMap,
-} from "@/lib/partners/partner-profile";
import useNetworkPartnersCount from "@/lib/swr/use-network-partners-count";
import useWorkspace from "@/lib/swr/use-workspace";
import { NetworkPartnerProps } from "@/lib/types";
@@ -525,48 +521,6 @@ function PartnerCard({
))}
</div>
</div>
-
- {/* Partner profile selections */}
- <div className="mt-5 flex flex-col gap-5">
- {/* Industry interests */}
- <div className="flex flex-col gap-2">
- <h3 className="text-content-emphasis text-xs font-semibold">
- Industry interests
- </h3>
- <ListRow
- className={cn(!partner && "animate-pulse")}
- items={
- partner
- ? partner.industryInterests
- ?.map((interest) => industryInterestsMap[interest])
- .filter(
- (item): item is { icon: Icon; label: string } =>
- item !== undefined,
- ) ?? []
- : undefined
- }
- />
- </div>
-
- {/* Sales channels */}
- <div className="flex flex-col gap-2">
- <h3 className="text-content-emphasis text-xs font-semibold">
- Sales channels
- </h3>
- <ListRow
- className={cn(!partner && "animate-pulse")}
- items={
- partner
- ? partner.salesChannels
- ?.map((salesChannel) => salesChannelsMap[salesChannel])
- .filter(
- (item): item is { label: string } => item !== undefined,
- ) ?? []
- : undefined
- }
- />
- </div>
- </div>
</div>
</div>
);