@@ -45,6 +45,7 @@ import { KeyboardShortcutHint } from "@/app/components/keyboardShortcutHint";
4545import { Tooltip , TooltipContent , TooltipTrigger } from "@/components/ui/tooltip" ;
4646import { Separator } from "@/components/ui/separator" ;
4747import { WhatsNewSidebarButton } from "./whatsNewSidebarButton" ;
48+ import { BookACallSidebarButton } from "./bookACallSidebarButton" ;
4849import { UpgradeButton } from "./upgradeButton" ;
4950import { useIsMobile } from "@/hooks/use-mobile" ;
5051
@@ -58,9 +59,10 @@ interface SidebarBaseProps {
5859 headerContent : ReactNode ;
5960 children : ReactNode ;
6061 isValidLicenseActive : boolean ;
62+ isAskGhEnabled : boolean ;
6163}
6264
63- export function SidebarBase ( { session, collapsible = "icon" , headerContent, children, isValidLicenseActive } : SidebarBaseProps ) {
65+ export function SidebarBase ( { session, collapsible = "icon" , headerContent, children, isValidLicenseActive, isAskGhEnabled } : SidebarBaseProps ) {
6466 const [ isScrolled , setIsScrolled ] = useState ( false ) ;
6567 const contentRef = useRef < HTMLDivElement > ( null ) ;
6668 const isMobile = useIsMobile ( ) ;
@@ -118,6 +120,7 @@ export function SidebarBase({ session, collapsible = "icon", headerContent, chil
118120 < CollapseSidebarButton />
119121 }
120122 < WhatsNewSidebarButton />
123+ < BookACallSidebarButton isAskGhEnabled = { isAskGhEnabled } />
121124 { session ? (
122125 < MeControlDropdownMenu session = { session } />
123126 ) : (
0 commit comments