started connect with api

This commit is contained in:
Jelaletdin12
2026-08-11 22:48:25 +05:00
parent 0ca218505d
commit 6da59f42d9
112 changed files with 7091 additions and 6989 deletions

View File

@@ -91,14 +91,14 @@ export function InfoRow({ label, value, children, isLink, href }: InfoRowProps)
export interface MultiLangRowProps {
label: string;
value?: { tk?: string; ru?: string; en?: string } | null;
value?: { tm?: string; tk?: string; ru?: string; en?: string } | null;
}
export function MultiLangRow({ label, value }: MultiLangRowProps) {
if (!value) return <InfoRow label={label} value="—" />;
const langs = [
{ code: "TK", val: value.tk },
{ code: "TK", val: value.tm ?? value.tk },
{ code: "RU", val: value.ru },
{ code: "EN", val: value.en },
];