diff options
| author | Dhravya <[email protected]> | 2024-04-10 09:51:56 -0700 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-04-10 09:51:56 -0700 |
| commit | 75899ae5fdd709125161c681fd71a7b449f3aa3b (patch) | |
| tree | 6005e95bf94ed0a32b130a3039700ffdee05bbdd /apps/web/src/components/Sidebar | |
| parent | Merge pull request #4 from Dhravya/new-ui (diff) | |
| download | supermemory-75899ae5fdd709125161c681fd71a7b449f3aa3b.tar.xz supermemory-75899ae5fdd709125161c681fd71a7b449f3aa3b.zip | |
cleanups for production
Diffstat (limited to 'apps/web/src/components/Sidebar')
| -rw-r--r-- | apps/web/src/components/Sidebar/index.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/web/src/components/Sidebar/index.tsx b/apps/web/src/components/Sidebar/index.tsx index 830b0f05..db36f66b 100644 --- a/apps/web/src/components/Sidebar/index.tsx +++ b/apps/web/src/components/Sidebar/index.tsx @@ -7,6 +7,7 @@ import { AnimatePresence, motion } from 'framer-motion'; import { Bin } from '@/assets/Bin'; import { Avatar, AvatarFallback, AvatarImage } from '@radix-ui/react-avatar'; import { useSession } from 'next-auth/react'; +import MessagePoster from '@/app/MessagePoster'; export type MenuItem = { icon: React.ReactNode | React.ReactNode[]; @@ -16,8 +17,10 @@ export type MenuItem = { export default function Sidebar({ selectChange, + jwt }: { selectChange?: (selectedItem: string | null) => void; + jwt: string; }) { const { data: session } = useSession(); const menuItemsTop: Array<MenuItem> = [ @@ -117,6 +120,7 @@ export default function Sidebar({ selectedItem={selectedItem} setSelectedItem={setSelectedItem} /> + <MessagePoster jwt={jwt} /> </div> <AnimatePresence> {selectedItem && <SubSidebar>{Subbar}</SubSidebar>} |