mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-11-04 08:50:20 +00:00
fix validation & implement profile page (#5)
* fix validation * implement profile page * catch error
This commit is contained in:
1 parent
b0476bc3a3
commit
7325939198
13 files changed
+258
-43
No files matched your search
+1
-1
@@ -34,7 +34,7 @@ export const conv = {
|
||||
return arr.join(',');
|
||||
},
|
||||
strToArr: (str: string) => {
|
||||
return str.split(',');
|
||||
return str.split(',').filter(Boolean) || [];
|
||||
},
|
||||
recordToArr: <T>(rec: Record<string, T>) => {
|
||||
const arr: T[] = [];
|
||||
|
||||
Reference in new issue
Block a user