N
Novuโ€ข2y ago
dr.really

TypeError Cannot read properties of null (reading 'activeTabStoreId')

When using the PopoverNotificationCenter v0.9.2, I'm getting a TypeError: Cannot read properties of null (reading 'activeTabStoreId') error when loading. I am self hosting it locally on docker and have set up the props on the Provider. I'm about to test it against the hosted version
46 Replies
DavidSouthmountain
DavidSouthmountainโ€ข2y ago
How is you code with PopoverNotificationCenter looking?
dr.really
dr.reallyโ€ข2y ago
Manually set the unseenCount when I was trying to determine the issue
dr.really
dr.reallyโ€ข2y ago
note: I am using Remix, but I got it to work on my side project the other day
DavidSouthmountain
DavidSouthmountainโ€ข2y ago
yeah Remix is not the problem here I think ๐Ÿ™‚ Happy to see more people that using Remix ๐Ÿ™‚
dr.really
dr.reallyโ€ข2y ago
so yeah, even with the hosted version I'm still getting that activeTabeStoreId issue
DavidSouthmountain
DavidSouthmountainโ€ข2y ago
What happens if you remove the tabs prop?
dr.really
dr.reallyโ€ข2y ago
I love Remix
DavidSouthmountain
DavidSouthmountainโ€ข2y ago
Me too ๐Ÿคฉ
dr.really
dr.reallyโ€ข2y ago
DavidSouthmountain
DavidSouthmountainโ€ข2y ago
ah maybe you need to do it like this:
<NovuProvider
stores={[
{ storeId: 'activity', query: { feedIdentifier: 'activity' } },
]}
....
<NovuProvider
stores={[
{ storeId: 'activity', query: { feedIdentifier: 'activity' } },
]}
....
DavidSouthmountain
DavidSouthmountainโ€ข2y ago
React Component | Novu
Novu provides the @novu/notification-center a react library that helps to add a fully functioning notification center to your web application in minutes. Let's do a quick recap on how we can easily use it in your application:
dr.really
dr.reallyโ€ข2y ago
looking now, one moment
Novu_Bot
Novu_Botโ€ข2y ago
@dr.really, you just advanced to level 5!
dr.really
dr.reallyโ€ข2y ago
alright tried that on hosted, didn't work, let me try local the most recent version of the notifications center is v0.9.2 right? don't want to over look something lol
DavidSouthmountain
DavidSouthmountainโ€ข2y ago
yes it is latest ๐Ÿ™‚
Want results from more Discord servers?
Add your server