Skip to content

Commit 8dea0c2

Browse files
committed
use non-secure version of nanoid to avoid missing crypto global in IE11
1 parent 11a775f commit 8dea0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { nanoid } from 'nanoid';
1+
import { nanoid } from 'nanoid/non-secure';
22
import { updateScroll } from 'react-relative-portal';
33

44
export const generateUniqueId: () => string =

0 commit comments

Comments
 (0)