diff --git a/client/app/components/Admin.jsx b/client/app/components/Admin.jsx new file mode 100644 index 0000000..96d36af --- /dev/null +++ b/client/app/components/Admin.jsx @@ -0,0 +1,35 @@ +/* + ./app/components/App.jsx + + +*/ +import React from 'react'; +import { Link } from 'react-router-dom' + +import FetchData from './FetchData.js'; +import ListStrays from './ListStrays.jsx'; + +import FetchRequested from './FetchRequested.jsx'; + +import LoginForm from './LoginForm/LoginForm.jsx'; +import { Provider } from 'react-redux'; +import store from './redux/store.jsx'; + +import { getCookie } from './Cookie.jsx'; + + +function getLoginStatus() { + const logged_in = getCookie('logged_in'); + if (logged_in) { + return + } + return +} + +const Admin = () => ( + + { getLoginStatus() } + +) + +export default Admin \ No newline at end of file