@@ -831,7 +826,7 @@ export function SettingsContent({
}}
/>
-
+
Review failed
@@ -849,7 +844,7 @@ export function SettingsContent({
}}
/>
-
+
New repository added
@@ -867,7 +862,7 @@ export function SettingsContent({
}}
/>
-
+
Weekly summary
@@ -893,7 +888,7 @@ export function SettingsContent({
In-App Notifications
-
+
AI insights available
@@ -911,7 +906,7 @@ export function SettingsContent({
}}
/>
-
+
Team mentions
@@ -973,7 +968,7 @@ export function SettingsContent({
) : (
- No repositories are currently connected. Connect a repository from
- the Repositories page.
+ No repositories are currently connected. Connect a repository
+ from the Repositories page.
)}
@@ -1423,10 +1418,10 @@ export function SettingsContent({
Disconnect all repositories?
This will disconnect all repositories currently connected to
- CodeReverb for this account or organization. New pull requests
- will no longer be automatically reviewed until repositories are
- reconnected. Existing reviews and analytics will remain but will
- not be updated.
+ CodeReverb for this account or organization. New pull
+ requests will no longer be automatically reviewed until
+ repositories are reconnected. Existing reviews and analytics
+ will remain but will not be updated.
diff --git a/components/settings/settings-sidebar.tsx b/components/settings/settings-sidebar.tsx
index 12742bb..21fad1a 100644
--- a/components/settings/settings-sidebar.tsx
+++ b/components/settings/settings-sidebar.tsx
@@ -15,6 +15,7 @@ import {
Building,
Search,
} from "lucide-react";
+import { cn } from "@/lib/utils";
const settingsSections = [
{
@@ -83,14 +84,6 @@ const settingsSections = [
},
];
-type SettingsTab =
- | "profile"
- | "notifications"
- | "ai"
- | "privacy"
- | "appearance"
- | "organization"
- | "repositories";
interface SettingsSidebarProps {
activeSection: SettingsTab;
setActiveSection: (section: SettingsTab) => void;
@@ -148,7 +141,12 @@ export function SettingsSidebar({