import React from 'react';
import { Switch, Route } from 'react-router-dom';

import Home from './containers/home'
import Artist from './containers/artist';

const Routes = () => {
        return(
            <Switch>
                <Route path="/" exact component={Home}/>
                <Route path="/artist/:id" exact component={Artist}/>
            </Switch>
        )
}

export default Routes;