Dunestash Public Frontend 0.0.1-a.1
This commit is contained in:
commit
fe36970476
67 changed files with 2179 additions and 0 deletions
31
src/App.js
Normal file
31
src/App.js
Normal file
|
@ -0,0 +1,31 @@
|
|||
//Module Imports
|
||||
import React from "react";
|
||||
import { ToastContainer } from "react-toastify";
|
||||
import "react-toastify/dist/ReactToastify.css";
|
||||
//Local Imports
|
||||
import Stash from "./Stash";
|
||||
//Constants
|
||||
const token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1dWlkIjoiYmVjYWNjNjdhNmRjLTBlN2QtMDBlNi1jYmVhLWVhZGNlYmUxIiwiaWF0IjoxNjI3MTcxMDU1LCJleHAiOjE2Mjk3NjMwNTV9.zqiHrYnJlB7ozwjMnpgVUsBAt9vfLHLICFgWB0MguLA"
|
||||
localStorage.setItem("authToken", token);
|
||||
class App extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<>
|
||||
<ToastContainer
|
||||
position="top-right"
|
||||
autoClose={5000}
|
||||
hideProgressBar={false}
|
||||
newestOnTop={false}
|
||||
closeOnClick={true}
|
||||
rtl={false}
|
||||
pauseOnFocusLoss
|
||||
draggable
|
||||
pauseOnHover={false}
|
||||
/>
|
||||
<Stash />
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default App;
|
Reference in a new issue