"use client";
import WithoutAuthMiddleware from "@/core/middlewares/withoutAuth";
import { Suspense } from "react";

const Layout = ({ children }) => {
  return (
    <Suspense>
      <WithoutAuthMiddleware>{children}</WithoutAuthMiddleware>
    </Suspense>
  );
};

export default Layout;
