feat(devices): add proper filter handling and update shadcn 🔨

This commit is contained in:
2025-06-26 18:42:48 +05:00
parent 6aea54884d
commit 59adaaf281
46 changed files with 9472 additions and 1055 deletions

View File

@ -1,5 +1,6 @@
import { DeviceCartDrawer } from "@/components/device-cart";
import { Wallet } from "@/components/wallet";
import { NuqsAdapter } from 'nuqs/adapters/next/app'
import { ModeToggle } from "@/components/theme-toggle";
import { AppSidebar } from "@/components/ui/app-sidebar";
@ -15,8 +16,8 @@ import {
import { tryCatch } from "@/utils/tryCatch";
import { getServerSession } from "next-auth";
import { redirect } from "next/navigation";
import { AccountPopover } from "./account-popver";
import { WelcomeBanner } from "../welcome-banner";
import { AccountPopover } from "./account-popver";
export async function ApplicationLayout({
children,
@ -51,7 +52,9 @@ export async function ApplicationLayout({
/>
<DeviceCartDrawer />
<div className="p-4 flex flex-col flex-1 rounded-lg bg-background">
{children}
<NuqsAdapter>
{children}
</NuqsAdapter>
</div>
</SidebarInset>
</SidebarProvider>