Skip to content
Discussion options

You must be logged in to vote

Hi,

Please change one of the storeIds to default, that should fix it for you. Here's a full example. I do agree it's not obvious, and a "default" id should either be documented or not necessary.

import MagicBell, {
  FloatingNotificationInbox,
} from "@magicbell/magicbell-react";

const stores = [
  { id: "default", defaultQueryParams: { seen: false } },
  { id: "unread", defaultQueryParams: { read: false } },
  { id: "all", defaultQueryParams: {} },
];

const tabs = [
  { storeId: "default", label: "Unread" },
  { storeId: "unseen", label: "UnSeen" },
  { storeId: "all", label: "All" },
];

export default function Index() {
  return (
    <MagicBell
      apiKey={}
      bellCounter="un…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@smeijer
Comment options

Answer selected by riteshbxr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Questions
Labels
None yet
2 participants