Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

style(web): format Sidebar comments disable ternary

Richie McIlroyc97ada120c83
diff --git a/apps/web/app/s/[videoId]/_components/Sidebar.tsx b/apps/web/app/s/[videoId]/_components/Sidebar.tsx
index 1e298665f..e3c5bac13 100644
--- a/apps/web/app/s/[videoId]/_components/Sidebar.tsx
+++ b/apps/web/app/s/[videoId]/_components/Sidebar.tsx
@@ -109,7 +109,10 @@ export const Sidebar = forwardRef<{ scrollToBottom: () => void }, SidebarProps>(
recordingStopped && !isScreenshot && !transcriptDisabled
? "transcript"
: isScreenshot ||
- !(videoSettings?.disableComments ?? data.orgSettings?.disableComments)
+ !(
+ videoSettings?.disableComments ??
+ data.orgSettings?.disableComments
+ )
? "activity"
: !(videoSettings?.disableSummary ?? data.orgSettings?.disableSummary)
? "summary"