This repository has been archived on 2024-08-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
khufu/src/App.js

34 lines
889 B
JavaScript
Raw Normal View History

2021-07-24 23:06:32 -06:00
//Module Imports
import React from "react";
import { ToastContainer } from "react-toastify";
import "react-toastify/dist/ReactToastify.css";
//Local Imports
import Stash from "./Stash";
//Constants
2021-07-31 17:56:04 +00:00
const token =
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1dWlkIjoiYmVjYWNjNjdhNmRjLTBlN2QtMDBlNi1jYmVhLWVhZGNlYmUxIiwiaWF0IjoxNjI3MTcxMDU1LCJleHAiOjE2Mjk3NjMwNTV9.zqiHrYnJlB7ozwjMnpgVUsBAt9vfLHLICFgWB0MguLA";
2021-07-24 23:06:32 -06:00
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}
2021-07-31 17:56:04 +00:00
limit={3}
2021-07-24 23:06:32 -06:00
pauseOnFocusLoss
draggable
pauseOnHover={false}
/>
<Stash />
</>
);
}
}
export default App;