mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
Daniel Mason
5fd9d41069
- Jellyfin scrobble working - Returns scrobbles via API for authed users /api/v1/user/{uuid}/scrobble - Add redis handler + funcs - Move middleware to pass in uuid as needed
31 lines
735 B
JavaScript
31 lines
735 B
JavaScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import './index.css';
|
|
import App from './App';
|
|
import { HashRouter } from 'react-router-dom';
|
|
import { ToastContainer } from 'react-toastify';
|
|
import 'react-toastify/dist/ReactToastify.min.css'
|
|
import { Provider } from 'react-redux';
|
|
|
|
import store from "./store";
|
|
|
|
ReactDOM.render(
|
|
<Provider store={store}>
|
|
<HashRouter>
|
|
<ToastContainer
|
|
position="bottom-right"
|
|
autoClose={5000}
|
|
hideProgressBar={false}
|
|
newestOnTop={true}
|
|
closeOnClick
|
|
rtl={false}
|
|
pauseOnFocusLoss={false}
|
|
draggable
|
|
pauseOnHover
|
|
/>
|
|
<App />
|
|
</HashRouter>
|
|
</Provider>,
|
|
document.getElementById('root')
|
|
);
|