diff --git a/pages/index.tsx b/pages/index.tsx index 0586fcd..30f8271 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -477,7 +477,7 @@ export default function Home() { /> -
+
{showSidebar ? (
setShowSidebar(!showSidebar)} /> - {/* Sidebar Background for closing on click outside of it. */} -
setShowSidebar(!showSidebar)} className="sm:hidden bg-black opacity-70 z-10 absolute top-0 left-0 h-full w-full">
+ +
setShowSidebar(!showSidebar)} + className="sm:hidden bg-black opacity-70 z-10 absolute top-0 left-0 h-full w-full" + >
) : ( setShowSidebar(!showSidebar)} /> )} @@ -534,7 +537,7 @@ export default function Home() { onRegenerate={handleRegenerate} stopConversationRef={stopConversationRef} /> -
+ )}