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

(limited to 'FrontEnd/src/components/menu/Menu.tsx')

diff --git a/FrontEnd/src/components/menu/Menu.tsx b/FrontEnd/src/components/menu/Menu.tsx
index 1a196a69..6093a56f 100644
--- a/FrontEnd/src/components/menu/Menu.tsx
+++ b/FrontEnd/src/components/menu/Menu.tsx
@@ -1,7 +1,7 @@
 import { MouseEvent, CSSProperties } from "react";
 import classNames from "classnames";
 
-import { useC, Text, ThemeColor } from "../common";
+import { useC, I18nText, ThemeColor } from "../common";
 import Icon from "../Icon";
 
 import "./Menu.css";
@@ -12,7 +12,7 @@ export type MenuItem =
     }
   | {
       type: "button";
-      text: Text;
+      text: I18nText;
       icon?: string;
       color?: ThemeColor;
       onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
-- 
cgit v1.2.3

