'use client';

import ClientSideWrapper from '@/components/wrapper/ClientSideWrapper';
import React from 'react';

function DialogsLayout({ children }: { children: React.ReactNode }) {
    return (
        <ClientSideWrapper>
            <main className='h-full bg-background dark:bg-background w-full overflow-y-auto noscrollbar pt-4 pb-6 px-6'>
                {children}
            </main>
        </ClientSideWrapper>
    )
}

export default DialogsLayout
