import React from 'react';
import { BrowserRouter } from 'react-router-dom';

import { Dashboard } from './dashboard';

import { getConfigValue } from "@brojs/cli";

import './index.css'

const BASE_API_URL = getConfigValue("enterfront.api");

// fetch(`${BASE_API_URL}/books/list`)

const App = () => {
  return(
      <BrowserRouter>
        <Dashboard />
      </BrowserRouter>
  )
}

export default App;
