fix ID has _ prefix bug
@@ -4,12 +4,9 @@ export const ID = (): string => {
// Math.random should be unique because of its seeding algorithm.
// Convert it to base 36 (numbers + letters), and grab the first 9 characters
// after the decimal.
- return (
- "_" +
- Math.random()
+ return Math.random()
.toString(36)
- .substr(2, 9)
- );
+ .substr(2, 9);
};
export const randomName = (): string => {
