Skip to content

Commit 806db2e

Browse files
committed
Remove classnames
1 parent dd5fc27 commit 806db2e

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

package-lock.json

-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"@sendgrid/mail": "^8.1.4",
2323
"@tailwindcss/forms": "^0.5.10",
2424
"argon2": "^0.41.1",
25-
"classnames": "^2.5.1",
2625
"next": "15.0.4",
2726
"next-auth": "^5.0.0-beta.25",
2827
"react": "^19.0.0",

src/screens/AccountManagementScreen.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { useEffect, useState } from "react";
44
import { DotsThree, MagnifyingGlass, Plus } from "@phosphor-icons/react";
55
import { CgSpinner } from "react-icons/cg";
66
import { User, UserType } from "@prisma/client";
7-
import classNames from "classnames";
87

98
enum UserFilterKey {
109
ALL = "All",
@@ -86,9 +85,7 @@ export default function AccountManagementScreen() {
8685
<button
8786
key={tab}
8887
data-active={activeTab === tab}
89-
className={classNames(
90-
"px-2 py-1 text-md font-medium relative -mb-px transition-colors focus:outline-none data-[active=true]:border-b-2 data-[active=true]:border-black data-[active=true]:bottom-[-1px] data-[active=false]:text-gray-500"
91-
)}
88+
className="px-2 py-1 text-md font-medium relative -mb-px transition-colors focus:outline-none data-[active=true]:border-b-2 data-[active=true]:border-black data-[active=true]:bottom-[-1px] data-[active=false]:text-gray-500"
9289
onClick={() => filterUsers(key)}
9390
>
9491
<div className="hover:bg-gray-100 px-2 py-1 rounded">{tab}</div>

0 commit comments

Comments
 (0)