import React from 'react';
import { createRoot } from 'react-dom/client';

import MineSeeker from './mine-seeker/MineSeeker';

const wrapper = document.getElementById('mine-wrapper');

createRoot(wrapper).render(
  <MineSeeker
    env={wrapper.dataset.env}
    gameId={wrapper.dataset.gameId}
  />,
);
