ospfranco / sol

MacOS launcher & command palette
MIT License
1.94k stars 91 forks source link

WARN Sending `onShow` and `keyUp` with no listeners registered. #5

Closed Angelk90 closed 2 years ago

Angelk90 commented 2 years ago

Hi @ospfranco , I'm getting the following warms when I start sol.

 LOG  Running "sol" with {"rootTag":1,"initialProps":{}}
 WARN  Sending `onShow` with no listeners registered.
 WARN  Sending `keyUp` with no listeners registered.
Schermata 2022-03-19 alle 23 18 58 Schermata 2022-03-19 alle 23 19 12
ospfranco commented 2 years ago

I added some check to the native key emitters, try on main, should not emit any warning now

Angelk90 commented 2 years ago

@ospfranco : It seems to be giving no errors now, what could be the problem?

ospfranco commented 2 years ago

you can check out the commit I did to fix it