feat(lessons): add lessons from client db

This commit is contained in:
shafin-r
2026-03-01 20:24:14 +06:00
parent 2eaf77e13c
commit 2a00c44157
152 changed files with 74587 additions and 222 deletions

View File

@ -111,3 +111,8 @@ export const formatGroupTitle = (status: string) => {
return status;
}
};
export const truncate = (str: string | undefined, max = 14): string => {
if (!str) return "";
return str.length > max ? str.slice(0, max - 1) + "…" : str;
};