perf: unify i18n text class in frontend

This commit is contained in:
Junyan Qin
2025-05-20 11:32:55 +08:00
parent ff335130ae
commit 7d34a2154b
5 changed files with 20 additions and 24 deletions
@@ -1,5 +1,5 @@
import styles from './HomeSidebar.module.css';
import { I18nText } from '@/app/infra/entities/api';
import { I18nLabel } from '@/app/infra/entities/common';
export interface ISidebarChildVO {
id: string;
@@ -7,7 +7,7 @@ export interface ISidebarChildVO {
name: string;
route: string;
description: string;
helpLink: I18nText;
helpLink: I18nLabel;
}
export class SidebarChildVO {
@@ -16,7 +16,7 @@ export class SidebarChildVO {
name: string;
route: string;
description: string;
helpLink: I18nText;
helpLink: I18nLabel;
constructor(props: ISidebarChildVO) {
this.id = props.id;