export const randomId = (e = 6): string => { const t = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678' const a = t.length let n = '' for (let i = 0; i < e; i++) { n += t.charAt(Math.floor(Math.random() * a)) } return n }