Skip to content

Commit

Permalink
chore(dashboard): conntect inbox component and fix the layout
Browse files Browse the repository at this point in the history
  • Loading branch information
LetItRock committed Nov 14, 2024
1 parent f776f1b commit 3e770af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/dashboard/src/components/inbox-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ export const InboxButton = () => {
}

return (
<Inbox subscriberId={user.id} applicationIdentifier={APP_ID}>
<Inbox subscriberId={user.externalId ?? ''} applicationIdentifier={APP_ID}>
<Popover>
<PopoverTrigger>
<Bell />
</PopoverTrigger>
<PopoverPortal>
<PopoverContent className="h-[500px] w-[350px] p-0">
<PopoverContent className="h-[500px] w-[350px] overflow-y-auto p-0 [&>div:first-child]:[&>div:first-child]:h-full [&>div:first-child]:h-full">
<InboxContent />
</PopoverContent>
</PopoverPortal>
Expand Down

0 comments on commit 3e770af

Please sign in to comment.