mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 23:05:46 +00:00
18 lines
387 B
TypeScript
18 lines
387 B
TypeScript
'use client';
|
|
|
|
import { Suspense } from 'react';
|
|
|
|
export default function UomLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<Suspense
|
|
fallback={
|
|
<div className='w-full flex flex-row justify-center items-center p-4'>
|
|
<span className='loading loading-spinner loading-xl' />
|
|
</div>
|
|
}
|
|
>
|
|
{children}
|
|
</Suspense>
|
|
);
|
|
}
|