'use client';

import React from 'react';
import SidebarLayout from '../components/sidebar/Sidebar';

const DashboardLayout: React.FC<{ children: React.ReactNode }> = ({ children }) => {
  return <SidebarLayout>{children}</SidebarLayout>; // Ensure that the sidebar wraps all dashboard pages
};

export default DashboardLayout;
