Skip to content

Commit

Permalink
fix(effect): remove [] to run detect print everytime
Browse files Browse the repository at this point in the history
fix #1
  • Loading branch information
sibelius authored Aug 11, 2020
1 parent 2b53c8f commit e26285d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function useDetectPrint() {

printMq.addListener(mqEvent);
return () => printMq.removeListener(mqEvent);
}, []);
});

return isPrinting;
}
Expand Down

0 comments on commit e26285d

Please sign in to comment.