diff --git a/docs/package.json b/docs/package.json
index 89cea77239..cc39d0a3fb 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -51,7 +51,6 @@
"@mui/material": "^5.0.0",
"@mui/system": "^5.0.0",
"@mui/x-data-grid": "^5.17.6",
- "clsx": "^1.2.1",
"draft-js": "^0.11.7",
"final-form": "^4.20.9",
"graphql": "^15.0.0",
diff --git a/docs/src/theme/Playground/index.tsx b/docs/src/theme/Playground/index.tsx
index 507b261803..5baf355e61 100644
--- a/docs/src/theme/Playground/index.tsx
+++ b/docs/src/theme/Playground/index.tsx
@@ -4,7 +4,6 @@ import type { ThemeConfig } from "@docusaurus/theme-live-codeblock";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import useIsBrowser from "@docusaurus/useIsBrowser";
import type { Props } from "@theme/Playground";
-import clsx from "clsx";
import React from "react";
import { LiveEditor, LiveError, LivePreview, LiveProvider } from "react-live";
@@ -12,7 +11,7 @@ import { Button } from "./Button";
import styles from "./styles.module.css";
function Header({ children }: { children: React.ReactNode }) {
- return
{children}
;
+ return {children}
;
}
function LivePreviewLoader() {
diff --git a/packages/admin/admin-color-picker/package.json b/packages/admin/admin-color-picker/package.json
index f2fe6708c7..42d129d137 100644
--- a/packages/admin/admin-color-picker/package.json
+++ b/packages/admin/admin-color-picker/package.json
@@ -28,7 +28,6 @@
"dependencies": {
"@comet/admin": "workspace:^7.10.0",
"@comet/admin-icons": "workspace:^7.10.0",
- "clsx": "^1.1.1",
"react-colorful": "^5.5.1",
"tinycolor2": "^1.4.1",
"use-debounce": "^6.0.0"
diff --git a/packages/admin/admin-date-time/package.json b/packages/admin/admin-date-time/package.json
index b79d7d6d92..210c630faf 100644
--- a/packages/admin/admin-date-time/package.json
+++ b/packages/admin/admin-date-time/package.json
@@ -29,7 +29,6 @@
"@comet/admin": "workspace:^7.10.0",
"@comet/admin-icons": "workspace:^7.10.0",
"@mui/utils": "^5.4.1",
- "clsx": "^1.1.1",
"date-fns": "^2.28.0",
"react-date-range": "^1.4.0"
},
diff --git a/packages/admin/admin/package.json b/packages/admin/admin/package.json
index 1a38c0c777..b866fec5a7 100644
--- a/packages/admin/admin/package.json
+++ b/packages/admin/admin/package.json
@@ -32,7 +32,6 @@
"@comet/admin-theme": "workspace:^7.10.0",
"@mui/lab": "^5.0.0-alpha.76",
"@mui/private-theming": "^5.0.0",
- "clsx": "^1.1.1",
"exceljs": "^3.4.0",
"file-saver": "^2.0.2",
"final-form-set-field-data": "^1.0.2",
diff --git a/packages/admin/blocks-admin/package.json b/packages/admin/blocks-admin/package.json
index c1b96cfdd5..0ddb3e1b15 100644
--- a/packages/admin/blocks-admin/package.json
+++ b/packages/admin/blocks-admin/package.json
@@ -34,7 +34,6 @@
"@comet/admin-icons": "workspace:^7.10.0",
"@mui/lab": "^5.0.0-alpha.76",
"clipboard-copy": "^4.0.0",
- "clsx": "^1.1.1",
"lodash.isequal": "^4.0.0",
"rimraf": "^3.0.0",
"scroll-into-view-if-needed": "^2.0.0",
diff --git a/packages/admin/cms-admin/package.json b/packages/admin/cms-admin/package.json
index 1e93d9f22c..d69a1823a5 100644
--- a/packages/admin/cms-admin/package.json
+++ b/packages/admin/cms-admin/package.json
@@ -48,7 +48,6 @@
"axios": "^0.21.0",
"change-case": "^4.1.2",
"class-validator": "^0.14.1",
- "clsx": "^1.1.1",
"commander": "^10.0.1",
"date-fns": "^2.0.0",
"file-saver": "^2.0.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ffd5a60986..93542c0b79 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1023,9 +1023,6 @@ importers:
'@mui/x-data-grid':
specifier: ^5.17.6
version: 5.17.20(@mui/material@5.11.6)(@mui/system@5.11.5)(react-dom@17.0.2)(react@17.0.2)
- clsx:
- specifier: ^1.2.1
- version: 1.2.1
draft-js:
specifier: ^0.11.7
version: 0.11.7(react-dom@17.0.2)(react@17.0.2)
@@ -1132,9 +1129,6 @@ importers:
'@mui/private-theming':
specifier: ^5.0.0
version: 5.11.2(@types/react@17.0.53)(react@17.0.2)
- clsx:
- specifier: ^1.1.1
- version: 1.2.1
exceljs:
specifier: ^3.4.0
version: 3.10.0
@@ -1349,9 +1343,6 @@ importers:
'@comet/admin-icons':
specifier: workspace:^7.10.0
version: link:../admin-icons
- clsx:
- specifier: ^1.1.1
- version: 1.2.1
react-colorful:
specifier: ^5.5.1
version: 5.6.1(react-dom@17.0.2)(react@17.0.2)
@@ -1428,9 +1419,6 @@ importers:
'@mui/utils':
specifier: ^5.4.1
version: 5.11.2(react@17.0.2)
- clsx:
- specifier: ^1.1.1
- version: 1.2.1
date-fns:
specifier: ^2.28.0
version: 2.29.3
@@ -1814,9 +1802,6 @@ importers:
clipboard-copy:
specifier: ^4.0.0
version: 4.0.1
- clsx:
- specifier: ^1.1.1
- version: 1.2.1
lodash.isequal:
specifier: ^4.0.0
version: 4.5.0
@@ -1971,9 +1956,6 @@ importers:
class-validator:
specifier: ^0.14.1
version: 0.14.1
- clsx:
- specifier: ^1.1.1
- version: 1.2.1
commander:
specifier: ^10.0.1
version: 10.0.1