import { createBrowserHistory } from "history" ; import { Router } from 'react-router' ; import './index.css' ; import Home from './pages/Home' ; const history = createBrowserHistory ( ) ; export default function HomePage ( ) { return < Router history = { history } > < Home title = 'Nossas - SlateJS Editor' version = '5.0.0' / > < /Router>; }