Hi, i want to use novu to trigger page reload beside the notification feature.
Therefore, we want to seperate message that will show in our customer notifications and that will be consumed in Front end to reload the page
i already set the Novu Provider
import { NovuProvider, useNotifications } from 'novu';
function App() {
return (
<NovuProvider stores={[{ storeId: 'Order', query: { seen: false, read: false, feedIdentifier: ["Order"] } }]}>
<Notifications />
</NovuProvider>
);
}
and use it my component
import {
useNotifications,
} from "@novu/notification-center"
const { data } = useFetchNotifications({
query: {
limit: 1,
seen: false,
read: false,
feedIdentifier: ["Order"],
},
})
but it still get all notifications, moreover i already set the limit to 1, but it still return 10 items.
Can someone guide me please ?