Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hemarina committed Sep 21, 2023
1 parent a23b23d commit 1964db1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions website/src/components/gallery/ShowcaseCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
Button,
Badge,
CardPreview,
Popup,
Link as FluentUILink,
ToggleButton,
Input,
Expand All @@ -41,15 +40,16 @@ import {
IPanelProps,
Separator,
IPivotStyles,
IInputProps,
Popup
} from "@fluentui/react";
import { title } from "process";

const TagComp = React.forwardRef<HTMLLIElement, Tag>(
({ label, description }) => (
const TagComp = React.forwardRef<HTMLDivElement, Tag>(
({ label, description }, ref) => (
<Badge
appearance="outline"
size="medium"
ref={ref}
title={description}
color="informative"
style={{
Expand Down Expand Up @@ -481,7 +481,8 @@ function ShowcaseCard({ user }: { user: User }) {
WebkitLineClamp: "3",
WebkitBoxOrient: "vertical",
}}
onClick={openPanel}
// Disable panel until redesign of card panel completed
// onClick={openPanel}
>
{user.description}
</div>
Expand All @@ -507,7 +508,8 @@ function ShowcaseCard({ user }: { user: User }) {
gap: "4px",
flexFlow: "wrap",
}}
onClick={openPanel}
// Disable panel until Card Panel redesign completed
// onClick={openPanel}
>
<ShowcaseCardTag key={user.title} tags={user.tags} moreTag={true} />
</div>
Expand Down

0 comments on commit 1964db1

Please sign in to comment.