diff --git a/apps/portal/src/components/questions/card/FullQuestionCard.tsx b/apps/portal/src/components/questions/card/FullQuestionCard.tsx index 936c6416..f0dc1e4f 100644 --- a/apps/portal/src/components/questions/card/FullQuestionCard.tsx +++ b/apps/portal/src/components/questions/card/FullQuestionCard.tsx @@ -15,7 +15,6 @@ type UpvoteProps = export type FullQuestionCardProps = UpvoteProps & { company: string; content: string; - href?: string; location: string; receivedCount: number; role: string; @@ -30,10 +29,9 @@ export default function FullQuestionCard({ timestamp, role, location, - href, }: FullQuestionCardProps) { const altText = company + ' logo'; - const mainCard = ( + return (
{showVoteButtons && }
@@ -56,13 +54,13 @@ export default function FullQuestionCard({
); - return href ? ( - - {mainCard} - - ) : ( - mainCard - ); + // Return href ? ( + // + // {mainCard} + // + // ) : ( + // mainCard + // ); } diff --git a/apps/portal/src/utils/questions/withHref.tsx b/apps/portal/src/utils/questions/withHref.tsx index 7fb98976..681f7122 100644 --- a/apps/portal/src/utils/questions/withHref.tsx +++ b/apps/portal/src/utils/questions/withHref.tsx @@ -10,7 +10,7 @@ const withHref = >( return (