Skip to content

Instantly share code, notes, and snippets.

@nparsons08 nparsons08/App.js Secret

forked from LukeSmetham/App.js
Created Sep 24, 2019
What would you like to do?
import React from 'react';
// Router //
import { Router, Switch, Route } from 'react-router-dom';
import history from 'utils/history';
// Styles //
import { ThemeProvider } from 'styled-components';
import theme from 'styles/theme';
import GlobalStyles from 'styles/global';
import '@voxeet/react-components/dist/voxeet-react-components.css';
// Screens //
import Conference from 'screens/Conference';
// Redux //
import { Provider } from 'react-redux';
import createStore from 'data/createStore';
const store = createStore();
function App() {
return (
<ThemeProvider theme={theme}>
<Provider store={store}>
<Router history={history}>
<Route path='/:conferenceAlias' component={Conference} />
<GlobalStyles />
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.