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/ToggleIconButton.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/FrontEnd/src/app/views/common/ToggleIconButton.tsx b/FrontEnd/src/app/views/common/ToggleIconButton.tsx
index 76c48960..c4d2d132 100644
--- a/FrontEnd/src/app/views/common/ToggleIconButton.tsx
+++ b/FrontEnd/src/app/views/common/ToggleIconButton.tsx
@@ -1,5 +1,5 @@
 import React from "react";
-import clsx from "clsx";
+import classnames from "classnames";
 
 export interface ToggleIconButtonProps
   extends React.HTMLAttributes<HTMLElement> {
@@ -17,7 +17,7 @@ const ToggleIconButton: React.FC<ToggleIconButtonProps> = ({
 }) => {
   return (
     <i
-      className={clsx(
+      className={classnames(
         state ? trueIconClassName : falseIconClassName,
         "icon-button",
         className
-- 
cgit v1.2.3

