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

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

diff --git a/FrontEnd/src/app/views/common/ImageCropper.tsx b/FrontEnd/src/app/views/common/ImageCropper.tsx
index b9db8b99..2ef5b7ed 100644
--- a/FrontEnd/src/app/views/common/ImageCropper.tsx
+++ b/FrontEnd/src/app/views/common/ImageCropper.tsx
@@ -1,5 +1,5 @@
 import React from "react";
-import clsx from "clsx";
+import classnames from "classnames";
 
 import { UiLogicError } from "@/common";
 
@@ -224,7 +224,7 @@ const ImageCropper = (props: ImageCropperProps): React.ReactElement => {
 
   return (
     <div
-      className={clsx("image-cropper-container", className)}
+      className={classnames("image-cropper-container", className)}
       style={containerStyle}
     >
       <img ref={onImageRef} src={imageUrl} onLoad={onImageLoad} alt="to crop" />
-- 
cgit v1.2.3

