import { getCreationList } from '@/services/creations';

import MapSectionClient from './MapSectionClient';

export default async function MapSection({ creatorId }: { creatorId: string }) {
  const creations = await getCreationList({
    personIdentifierList: [creatorId],
  });

  return <MapSectionClient creations={creations} />;
}
