Skip to content

Commit

Permalink
Merge pull request #1 from skatcat31/skatcat31-patch-1
Browse files Browse the repository at this point in the history
Fix util.js warn function to not blow up IE11
  • Loading branch information
skatcat31 authored Mar 8, 2019
2 parents 69fe518 + 33d5466 commit 1f4ed84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export function warn(...args) {
if (console && console.warn) {
if (typeof args[0] === 'string') args[0] = `react-i18next:: ${args[0]}`;
console.warn.apply(null, args);
console.warn.apply(console, args);
}
}

Expand Down

0 comments on commit 1f4ed84

Please sign in to comment.