2024-11-01 15:07:30 +01:00

9 lines
99 B
TypeScript

export const Strings = {
shortId: (id: string) => id.slice(0, 5) + "..." + id.slice(-5),
};