import { render } from 'preact';
import { RoutePlanner } from './routePlanner';

import './style.css';

export function App() {
    return <RoutePlanner />;
}

const app = document.getElementById('app');
if (app) {
    render(<App />, app);
} else {
    console.error('Cannot find app container');
}
