File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ import {
2525 Check
2626} from "lucide-react" ;
2727import { useState } from "react" ;
28+ import { AppSidebar } from "@/components/app-sidebar" ;
2829import { AppNavbar } from "@/components/app-navbar" ;
2930import { cn } from "@/lib/utils" ;
3031import { ScrollArea } from "@/components/ui/scroll-area" ;
3132import { Input } from "@/components/ui/input" ;
3233import { Switch } from "@/components/ui/switch" ;
33- import { SidebarProvider } from "@/components/sidebar-provider" ;
3434
3535export const Route = createFileRoute ( "/(authed)/config" ) ( {
3636 component : ConfigComponent ,
@@ -143,7 +143,7 @@ function ConfigComponent() {
143143 } ;
144144
145145 return (
146- < SidebarProvider >
146+ < AppSidebar >
147147 < div className = "min-h-screen bg-background" >
148148 < AppNavbar />
149149 < main className = "container mx-auto p-4 pt-20" >
@@ -243,6 +243,6 @@ function ConfigComponent() {
243243 </ div >
244244 </ main >
245245 </ div >
246- </ SidebarProvider >
246+ </ AppSidebar >
247247 ) ;
248248}
Original file line number Diff line number Diff line change 11import { createFileRoute } from "@tanstack/react-router" ;
22import { IncidentFeed } from "@/components/incidents/incident-feed" ;
3+ import { AppSidebar } from "@/components/app-sidebar" ;
34import { AppNavbar } from "@/components/app-navbar" ;
45import { Incident } from "@/types/incident" ;
56import { useState , useMemo } from "react" ;
@@ -9,7 +10,6 @@ import { Label } from "@/components/ui/label";
910import { ScrollArea } from "@/components/ui/scroll-area" ;
1011import { Separator } from "@/components/ui/separator" ;
1112import { Check , Filter } from "lucide-react" ;
12- import { SidebarProvider } from "@/components/sidebar-provider" ;
1313
1414// Mock data - replace with real API calls later
1515const mockIncidents : Incident [ ] = [
@@ -118,7 +118,7 @@ function FeedComponent() {
118118 } ;
119119
120120 return (
121- < SidebarProvider >
121+ < AppSidebar >
122122 < div className = "bg-background min-h-screen" >
123123 < AppNavbar />
124124 < main className = "mx-auto max-w-7xl p-4 pt-20" >
@@ -242,6 +242,6 @@ function FeedComponent() {
242242 </ div >
243243 </ main >
244244 </ div >
245- </ SidebarProvider >
245+ </ AppSidebar >
246246 ) ;
247247}
You can’t perform that action at this time.
0 commit comments