Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Dec 20, 2024
1 parent 64ebdf9 commit 97fb458
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type * as ApiDefinition from "@fern-api/fdr-sdk/api-definition";
import type * as FernDocs from "@fern-api/fdr-sdk/docs";
import * as FernNavigation from "@fern-api/fdr-sdk/navigation";
import { EMPTY_ARRAY } from "@fern-api/ui-core-utils";
import { AvailabilityBadge } from "@fern-ui/components/badges";
import { AvailabilityBadge } from "@fern-docs/components/badges";
import cn from "clsx";
import { compact } from "es-toolkit/array";
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/fern-docs/ui/src/feedback/Feedback.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FernButton, FernButtonGroup, toast } from "@fern-ui/components";
import { FernButton, FernButtonGroup, toast } from "@fern-docs/components";
import { useKeyboardPress } from "@fern-ui/react-commons";
import clsx from "clsx";
import { ThumbsDown, ThumbsUp } from "iconoir-react";
Expand Down
8 changes: 4 additions & 4 deletions packages/fern-docs/ui/src/feedback/FeedbackPopover.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FernButton, FernButtonGroup } from "@fern-ui/components";
import { FernButton, FernButtonGroup } from "@fern-docs/components";
import clsx from "clsx";
import { motion } from "framer-motion";
import { Check, ThumbsDown, ThumbsUp } from "iconoir-react";
Expand Down Expand Up @@ -154,13 +154,13 @@ export const FeedbackPopover = forwardRef<
icon={
<ThumbsDown
className={clsx("opacity-60", {
"animate-thumb-rock": isHelpful === false,
"animate-thumb-rock": !isHelpful,
})}
/>
}
variant="minimal"
intent={isHelpful === false ? "danger" : "none"}
active={isHelpful === false}
intent={!isHelpful ? "danger" : "none"}
active={!isHelpful}
onClick={handleThumbsDown}
className={clsx({ "w-full": isHelpful !== undefined })}
transition={{ type: "spring", duration: 0.3, bounce: 0 }}
Expand Down

0 comments on commit 97fb458

Please sign in to comment.