Remove missed static string

This commit is contained in:
schroda
2024-05-23 01:21:20 +02:00
parent 64c1ad6de3
commit f64320ad05

View File

@@ -166,7 +166,7 @@ function getSourceName(source?: ISource | null) {
}
function getValueOrUnknown(val?: string | null) {
return val || 'UNKNOWN';
return val ?? translate('global.label.unknown');
}
export const MangaDetails: React.FC<IProps> = ({ manga }) => {