From b13bc55fc8f40f80fbfe5c3e3a1abde3246a00b5 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Tue, 13 Apr 2021 19:39:31 +0800
Subject: refactor: replace clsx with classnames.

---
 FrontEnd/src/app/views/common/Skeleton.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'FrontEnd/src/app/views/common/Skeleton.tsx')

diff --git a/FrontEnd/src/app/views/common/Skeleton.tsx b/FrontEnd/src/app/views/common/Skeleton.tsx
index c0c84d27..b3e0aa29 100644
--- a/FrontEnd/src/app/views/common/Skeleton.tsx
+++ b/FrontEnd/src/app/views/common/Skeleton.tsx
@@ -1,5 +1,5 @@
 import React from "react";
-import clsx from "clsx";
+import classnames from "classnames";
 import { range } from "lodash";
 
 export interface SkeletonProps {
@@ -13,11 +13,11 @@ const Skeleton: React.FC<SkeletonProps> = (props) => {
   const lineNumber = lineNumberProps ?? 3;
 
   return (
-    <div className={clsx(className, "cru-skeleton")} style={style}>
+    <div className={classnames(className, "cru-skeleton")} style={style}>
       {range(lineNumber).map((i) => (
         <div
           key={i}
-          className={clsx("cru-skeleton-line", i === lineNumber - 1 && "last")}
+          className={classnames("cru-skeleton-line", i === lineNumber - 1 && "last")}
         />
       ))}
     </div>
-- 
cgit v1.2.3

