mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-30 23:18:47 +00:00
17 lines
478 B
JavaScript
17 lines
478 B
JavaScript
const React = require('react');
|
|
const { Router } = require('stremio-navigation');
|
|
const { homePath, onPathNotMatch, views: viewsConfig } = require('./routerConfig');
|
|
const styles = require('./styles');
|
|
|
|
const App = () => (
|
|
<React.StrictMode>
|
|
<Router
|
|
className={styles['router']}
|
|
homePath={homePath}
|
|
viewsConfig={viewsConfig}
|
|
onPathNotMatch={onPathNotMatch}
|
|
/>
|
|
</React.StrictMode>
|
|
);
|
|
|
|
module.exports = App;
|