Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

chore: cleanup jsx

Marc Seitz950ba207b339
diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx
index eb35c3f3..84662f3e 100644
--- a/components/Sidebar.tsx
+++ b/components/Sidebar.tsx
@@ -228,7 +228,7 @@ export default function Sidebar({ children }: { children: React.ReactNode }) {
</p>
</Menu.Item>
)}
- {session && (
+ {session ? (
<Menu.Item>
<Link
onClick={() =>
@@ -242,8 +242,7 @@ export default function Sidebar({ children }: { children: React.ReactNode }) {
Sign Out
</Link>
</Menu.Item>
- )}
- {!session && (
+ ) : (
<Menu.Item>
<a
onClick={() => signIn()}