'use client' import { useConfig } from '@/hooks/use-config' import React from 'react' import { cn } from "@/lib/utils" const LayoutContentProvider = ({ children }: { children: React.ReactNode }) => { const [config, setConfig] = useConfig(); if (config.sidebar === 'two-column') { return (
{children}
) } return ( <>
{children}
) } export default LayoutContentProvider