fix compiling issues
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* global crypto */
|
||||
|
||||
export default function generateUserID () {
|
||||
export function generateUserID () {
|
||||
if (typeof crypto !== 'undefined' && crypto.getRandomValue != null) {
|
||||
// browser
|
||||
let arr = new Uint32Array(1)
|
||||
|
||||
Reference in New Issue
Block a user