add: simple transition effect to layouts
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
'use client';
|
||||
|
||||
import ClientSideWrapper from '@/components/wrapper/ClientSideWrapper';
|
||||
import React from 'react'
|
||||
|
||||
function DialogsLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<main className='h-full w-full bg-container lg:bg-background pt-4 pb-6 px-6'>
|
||||
{children}
|
||||
</main>
|
||||
<ClientSideWrapper>
|
||||
<main className='h-full w-full bg-container lg:bg-background pt-4 pb-6 px-6'>
|
||||
{children}
|
||||
</main>
|
||||
</ClientSideWrapper>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user