Skip to content

Commit

Permalink
removes lucide-react
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgnlez committed Sep 11, 2023
1 parent 97406c5 commit dbf023c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useCallback } from 'react';

import { ArrowDown, ArrowUp } from 'lucide-react';
import { HiArrowUp, HiArrowDown } from 'react-icons/hi';

import { cn } from 'utils/cn';

Expand Down Expand Up @@ -43,9 +43,19 @@ const HeaderItem = ({
{text}
</span>
{sortOrder === 'asc' && isActive ? (
<ArrowDown className={isActive ? 'text-blue-400' : 'text-gray-400'} size={20} />
<HiArrowDown
className={cn({
'h-5 w-5 text-gray-400': true,
'text-blue-400': isActive,
})}
/>
) : (
<ArrowUp className={isActive ? 'text-blue-400' : 'text-gray-400'} size={20} />
<HiArrowUp
className={cn({
'h-5 w-5 text-gray-400': true,
'text-blue-400': isActive,
})}
/>
)}
</button>
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MoreHorizontal } from 'lucide-react';
import { HiDotsHorizontal } from 'react-icons/hi';

import Checkbox from 'components/forms/checkbox';
import Icon from 'components/icon';
Expand Down Expand Up @@ -66,7 +66,7 @@ const RowItem = ({
<Popover>
<PopoverTrigger asChild>
<button type="button" className="h-5 w-5">
<MoreHorizontal className="h-4 w-4 text-white" />
<HiDotsHorizontal className="h-4 w-4 text-white" />
</button>
</PopoverTrigger>
<PopoverContent
Expand Down
1 change: 0 additions & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"jsona": "^1.9.2",
"jsonwebtoken": "^9.0.0",
"lodash": "^4.17.20",
"lucide-react": "0.261.0",
"luma.gl": "7.3.2",
"next": "13.2.4",
"next-auth": "4.21.1",
Expand Down
10 changes: 0 additions & 10 deletions app/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7947,7 +7947,6 @@ __metadata:
jsonwebtoken: ^9.0.0
lint-staged: ^10.5.2
lodash: ^4.17.20
lucide-react: 0.261.0
luma.gl: 7.3.2
next: 13.2.4
next-auth: 4.21.1
Expand Down Expand Up @@ -15414,15 +15413,6 @@ __metadata:
languageName: node
linkType: hard

"lucide-react@npm:0.261.0":
version: 0.261.0
resolution: "lucide-react@npm:0.261.0"
peerDependencies:
react: ^16.5.1 || ^17.0.0 || ^18.0.0
checksum: 49557c5fe53c4a93e70f407141bf2aa11c8b0050fec34fc2d1f001ee61a1a6d285ca7125d959a3ef11a4d601de2e63ce81f1804493f6d512e637e80a2d5ba017
languageName: node
linkType: hard

"luma.gl@npm:7.3.2":
version: 7.3.2
resolution: "luma.gl@npm:7.3.2"
Expand Down

0 comments on commit dbf023c

Please sign in to comment.