Skip to content

Commit

Permalink
refactor: use lucide over heroicons (#1908)
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj authored Dec 23, 2024
1 parent 6b1bff1 commit 29035a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"dependencies": {
"@graphql-tools/schema": "10.0.13",
"@headlessui/react": "^1.7.17",
"@heroicons/react": "^2.0.18",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-radio-group": "^1.1.3",
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
Expand Down
12 changes: 0 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/app/conf/_components/schedule/filters.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Menu, Popover, Transition } from "@headlessui/react"
import { ChevronDownIcon, XMarkIcon } from "@heroicons/react/20/solid"
import { clsx } from "clsx"
import { ChevronDown, X } from "lucide-react"

type FiltersProps = {
categories: { name: string; options: string[] }[]
Expand All @@ -22,7 +22,7 @@ export function Filters({
onClick={onReset}
className="flex cursor-pointer items-center gap-x-2 rounded-md bg-gray-200 px-2 py-1 text-sm font-medium text-gray-700 hover:bg-gray-300 hover:text-gray-900"
>
Reset filters <XMarkIcon className="inline-block size-4" />
Reset filters <X className="inline-block size-4" />
</button>
)}
<Menu as="div" className="relative inline-block text-left">
Expand Down Expand Up @@ -68,7 +68,7 @@ export function Filters({
{filterState[section.name].length}
</span>
) : null}
<ChevronDownIcon
<ChevronDown
className="-mr-1 ml-1 size-5 shrink-0 text-gray-400 group-hover:text-gray-500"
aria-hidden="true"
/>
Expand Down

0 comments on commit 29035a4

Please sign in to comment.