discord-clone/app/(auth)/layout.tsx

9 lines
225 B
TypeScript
Raw Normal View History

2023-10-07 12:44:05 -07:00
const AuthLayout = ( { children }: {children: React.ReactNode}) => {
return (
2023-10-07 13:10:50 -07:00
<div className="h-full flex items-center justify-center">
2023-10-07 12:44:05 -07:00
{children}
</div>
);
}
export default AuthLayout;