corregido errores de compilacion para next en web
This commit is contained in:
@@ -9,8 +9,8 @@ import {
|
||||
DropdownMenuItem,
|
||||
DropdownMenuTrigger,
|
||||
} from '@repo/shadcn/dropdown-menu';
|
||||
type CompProps = {};
|
||||
export default function ThemeToggle({}: CompProps) {
|
||||
|
||||
export default function ThemeToggle() {
|
||||
const { setTheme } = useTheme();
|
||||
return (
|
||||
<DropdownMenu>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use client';
|
||||
|
||||
import { NavMain as ConfigMain, NavMain as GeneralMain, NavMain as AdministrationMain, NavMain as StatisticsMain, } from '@/components/nav-main';
|
||||
import { NavMain as GeneralMain, NavMain as AdministrationMain, NavMain as StatisticsMain, } from '@/components/nav-main';
|
||||
import { GeneralItems, AdministrationItems, StatisticsItems } from '@/constants/data';
|
||||
import {
|
||||
Sidebar,
|
||||
|
||||
@@ -5,9 +5,6 @@ import { SessionProvider, SessionProviderProps } from 'next-auth/react';
|
||||
import { NuqsAdapter } from 'nuqs/adapters/next/app';
|
||||
import { ReactNode } from 'react';
|
||||
|
||||
type ProvidersProps = {
|
||||
children: ReactNode;
|
||||
};
|
||||
|
||||
const queryClient = new QueryClient({
|
||||
defaultOptions: {
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
import {
|
||||
Folder,
|
||||
Forward,
|
||||
Frame,
|
||||
PanelLeft,
|
||||
PieChart,
|
||||
Trash2,
|
||||
type LucideIcon,
|
||||
} from 'lucide-react';
|
||||
@@ -27,25 +25,6 @@ import {
|
||||
useSidebar,
|
||||
} from '@repo/shadcn/sidebar';
|
||||
|
||||
const data = {
|
||||
projects: [
|
||||
{
|
||||
name: 'Design Engineering',
|
||||
url: '#',
|
||||
icon: Frame,
|
||||
},
|
||||
{
|
||||
name: 'Sales & Marketing',
|
||||
url: '#',
|
||||
icon: PieChart,
|
||||
},
|
||||
{
|
||||
name: 'Travel',
|
||||
url: '#',
|
||||
icon: Map,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export function NavProjects({
|
||||
projects,
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
'use client';
|
||||
|
||||
import {
|
||||
AudioWaveform,
|
||||
ChevronsUpDownIcon,
|
||||
Command,
|
||||
GalleryVerticalEnd,
|
||||
PlusIcon,
|
||||
} from 'lucide-react';
|
||||
|
||||
@@ -25,25 +22,6 @@ import {
|
||||
} from '@repo/shadcn/sidebar';
|
||||
import * as React from 'react';
|
||||
|
||||
const data = {
|
||||
teams: [
|
||||
{
|
||||
name: 'Acme Inc',
|
||||
logo: GalleryVerticalEnd,
|
||||
plan: 'Enterprise',
|
||||
},
|
||||
{
|
||||
name: 'Acme Corp.',
|
||||
logo: AudioWaveform,
|
||||
plan: 'Startup',
|
||||
},
|
||||
{
|
||||
name: 'Evil Corp.',
|
||||
logo: Command,
|
||||
plan: 'Free',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export function TeamSwitcher({
|
||||
teams,
|
||||
|
||||
Reference in New Issue
Block a user