Skip to content

Commit 236cb3e

Browse files
Fixed unecessary require
1 parent 4692b90 commit 236cb3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/example-react-intl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const setupTests = () => {
1717
Intl.NumberFormat = IntlPolyfill.NumberFormat
1818
Intl.DateTimeFormat = IntlPolyfill.DateTimeFormat
1919
} else {
20-
global.Intl = require('intl')
20+
global.Intl = IntlPolyfill
2121
}
2222
}
2323

0 commit comments

Comments
 (0)