'use client';
import React from 'react';
import SidebarTabs from '@/components/SidebarTabs';
import InstantMessaging from '@/components/Admin/InstantMessaging';

export default function MessageriePage({ csrfToken }) {
  const tabs = [
    {
      id: 'instant',
      label: 'Messagerie Instantanée',
      content: <InstantMessaging csrfToken={csrfToken} />,
    },
  ];

  return (
    <div className="h-full flex flex-col p-0 m-0">
      <SidebarTabs tabs={tabs} />
    </div>
  );
}
