"use client";

import { FC } from "react";
import { ApolloProvider } from "@apollo/client";
import { apolloClient } from "../_lib/apollo-client";
import dynamic from "next/dynamic";

const MetamigoAdmin = dynamic(() => import("./MetamigoAdmin"), {
  ssr: false,
});

export const Admin: FC = () => (
  <ApolloProvider client={apolloClient}>
    <MetamigoAdmin />
  </ApolloProvider>
);
