From d2b37fc43617aac777d1f84e3e822f1c8fa08d71 Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Fri, 31 May 2024 18:03:45 -0400 Subject: [PATCH] tweak(ui): fix NotifCard accessing on_click --- src/UI/Components/NotifCard.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/UI/Components/NotifCard.js b/src/UI/Components/NotifCard.js index 737904e2..1696ee67 100644 --- a/src/UI/Components/NotifCard.js +++ b/src/UI/Components/NotifCard.js @@ -18,8 +18,4 @@ export default def(class NotifCard extends Component { `); } - - on_ready ({ listen }) { - $(this.dom_).find('button').on('click', this.get('on_click') || (() => {})); - } });