From cda05caefdbe86a804866adb1bd5ef1b7b1741e1 Mon Sep 17 00:00:00 2001 From: Kyle Date: Wed, 27 Sep 2023 06:45:02 +0300 Subject: [PATCH] prettier:fix --- packages/emoji-mart/src/components/Picker/Picker.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/emoji-mart/src/components/Picker/Picker.tsx b/packages/emoji-mart/src/components/Picker/Picker.tsx index bd96e811..692b0fb9 100644 --- a/packages/emoji-mart/src/components/Picker/Picker.tsx +++ b/packages/emoji-mart/src/components/Picker/Picker.tsx @@ -106,7 +106,7 @@ export default class Picker extends Component { componentWillUnmount() { this.unregister() - this.darkMedia?.removeListener(this.darkMediaCallback); + this.darkMedia?.removeListener(this.darkMediaCallback) } async reset(nextState = {}) { @@ -207,7 +207,7 @@ export default class Picker extends Component { this.darkMedia = matchMedia('(prefers-color-scheme: dark)') if (this.darkMedia.media.match(/^not/)) return 'light' - this.darkMedia.addListener(this.darkMediaCallback); + this.darkMedia.addListener(this.darkMediaCallback) } return this.darkMedia.matches ? 'dark' : 'light'