update 30/01
This commit is contained in:
@@ -8,7 +8,7 @@ export function getAllProducts() {
|
||||
|
||||
export function formatTextList(
|
||||
text?: string | any[],
|
||||
limit = 5
|
||||
limit?: number | undefined
|
||||
) {
|
||||
if (!text) return '';
|
||||
|
||||
@@ -78,4 +78,4 @@ export function normalizeKey(str: string) {
|
||||
.replace(/[\u0300-\u036f]/g, '')
|
||||
.toLowerCase()
|
||||
.replace(/\s+/g, '-');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user