From 1e6531354d7a1562ff6c46d8bad09ba1a9a74cdb Mon Sep 17 00:00:00 2001 From: Mckay Wrigley Date: Sat, 25 Mar 2023 06:24:07 -0600 Subject: [PATCH] fix sidebar arrow showing --- pages/index.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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} /> -
+ )}