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

(limited to 'FrontEnd/src/components/alert/AlertHost.tsx')

diff --git a/FrontEnd/src/components/alert/AlertHost.tsx b/FrontEnd/src/components/alert/AlertHost.tsx
index 59f8f27c..8dca42d5 100644
--- a/FrontEnd/src/components/alert/AlertHost.tsx
+++ b/FrontEnd/src/components/alert/AlertHost.tsx
@@ -1,7 +1,7 @@
 import { useEffect, useState } from "react";
 import classNames from "classnames";
 
-import { ThemeColor, useC, Text } from "../common";
+import { ThemeColor, useC, I18nText } from "../common";
 import IconButton from "../button/IconButton";
 
 import { alertService, AlertInfoWithId } from "./AlertService";
@@ -10,7 +10,7 @@ import "./alert.css";
 
 interface AutoCloseAlertProps {
   color: ThemeColor;
-  message: Text;
+  message: I18nText;
   onDismiss?: () => void;
   onIn?: () => void;
   onOut?: () => void;
-- 
cgit v1.2.3

