Commit faf163c5 authored by Thor-Herman's avatar Thor-Herman
Browse files

Remove unnecessary interface #2

parent dda20fef
import { Route, Switch } from 'react-router';
import { Route, Switch } from 'react-router-native';
import BrowsePage from '../pages/BrowsePage';
import LandingPage from '../pages/LandingPage';
import MoviePage from '../pages/MoviePage';
import React from 'react';
import { View } from 'react-native';
const App = () => {
return (
<Switch>
<Route exact path='/' component={LandingPage} />
<Route path='/browse' component={BrowsePage} />
<Route path='/movie/:movieId' component={MoviePage} />
</Switch>
<View>
<Switch>
<Route exact path='/' component={LandingPage} />
<Route path='/browse' component={BrowsePage} />
<Route path='/movie/:movieId' component={MoviePage} />
</Switch>
</View>
);
};
......
......@@ -3,12 +3,6 @@ import reducers from '../reducers';
import thunk from 'redux-thunk';
import {composeWithDevTools} from 'redux-devtools-extension';
declare global {
interface Window {
__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?: typeof compose;
}
}
const configureStore = () => {
return createStore(reducers, composeWithDevTools(applyMiddleware(thunk)));
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment