Skip to content

Commit

Permalink
fix: address icon type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Jul 12, 2024
1 parent 654cf0e commit 0292963
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/v2/components/Header/NavMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import {
Plus,
Shield,
UsersThree,
XLogo,
} from "phosphor-react"
import { AnchorHTMLAttributes, ReactNode } from "react"
import XLogo from "static/icons/x.svg"
import { ThemeToggle } from "../ThemeToggle"
import { Button } from "../ui/Button"
import { Popover, PopoverContent, PopoverTrigger } from "../ui/Popover"
Expand Down
2 changes: 1 addition & 1 deletion src/v2/components/ui/Anchor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { cn } from "@/lib/utils"
import { Slot } from "@radix-ui/react-slot"
import { type VariantProps, cva } from "class-variance-authority"
import Link from "next/link"
import { ArrowSquareOut } from "phosphor-react/ArrowSquareOut"
import { ArrowSquareOut } from "phosphor-react"
import * as React from "react"

const anchorVariants = cva(
Expand Down
4 changes: 2 additions & 2 deletions src/v2/components/ui/DropdownMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { cn } from "@/lib/utils"
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu"
import { CaretRight, Check, Dot } from "phosphor-react"
import { CaretRight, Check, Circle } from "phosphor-react"
import {
ComponentPropsWithoutRef,
ElementRef,
Expand Down Expand Up @@ -132,7 +132,7 @@ const DropdownMenuRadioItem = forwardRef<
>
<span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
<DropdownMenuPrimitive.ItemIndicator>
<Dot weight="bold" className="h-4 w-4 fill-current" />
<Circle weight="bold" className="h-4 w-4 fill-current" />
</DropdownMenuPrimitive.ItemIndicator>
</span>
{children}
Expand Down

0 comments on commit 0292963

Please sign in to comment.