From d477c7270c90b190ed82b13f48f39a05d83503d2 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Thu, 21 Sep 2023 23:49:12 +0800
Subject: Fix #1394.

---
 FrontEnd/src/pages/setting/ChangeAvatarDialog.tsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'FrontEnd/src/pages/setting/ChangeAvatarDialog.tsx')

diff --git a/FrontEnd/src/pages/setting/ChangeAvatarDialog.tsx b/FrontEnd/src/pages/setting/ChangeAvatarDialog.tsx
index 4cdecbbb..9ede593e 100644
--- a/FrontEnd/src/pages/setting/ChangeAvatarDialog.tsx
+++ b/FrontEnd/src/pages/setting/ChangeAvatarDialog.tsx
@@ -1,11 +1,10 @@
 import { useState, ChangeEvent, ComponentPropsWithoutRef } from "react";
 
-import { useC, Text, UiLogicError } from "~src/common";
-
 import { useUser } from "~src/services/user";
 
 import { getHttpUserClient } from "~src/http/user";
 
+import { useC, I18nText, UiLogicError } from "~src/components/common";
 import { ImageCropper, useImageCrop } from "~src/components/ImageCropper";
 import BlobImage from "~src/components/BlobImage";
 import { ButtonRowV2 } from "~src/components/button";
@@ -43,7 +42,7 @@ export default function ChangeAvatarDialog({
   });
 
   const [resultBlob, setResultBlob] = useState<Blob | null>(null);
-  const [message, setMessage] = useState<Text>(
+  const [message, setMessage] = useState<I18nText>(
     "settings.dialogChangeAvatar.prompt.select",
   );
 
-- 
cgit v1.2.3

