Skip to content

Commit 3ba9ad8

Browse files
committed
fix inverted check
1 parent aa29cc1 commit 3ba9ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/debug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function debug(message, obj) {
5252

5353
if (obj) {
5454
// Browser console can print directly objects
55-
const toPrint = isBrowser() ? JSON.stringify(obj) : obj;
55+
const toPrint = !isBrowser() ? JSON.stringify(obj) : obj;
5656

5757
// eslint-disable-next-line no-console
5858
console.log(toPrint);

0 commit comments

Comments
 (0)