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

import { HostSearch } from '../components/HostSearch/HostSearch';
import { ThemeListener } from '../components/ThemeListener/ThemeListener';
import '../styles.scss';

const root = createRoot(document.getElementById('global-host-search-root') as HTMLElement);

root.render(
  <ThemeListener>
    <HostSearch />
  </ThemeListener>
);
