-
- welcome, voyager...
- ← go back
-
-
-
- );
-}
-
-export default SecretPage;
diff --git a/src/pages/Secret/index.js b/src/pages/Secret/index.js
deleted file mode 100644
index 894d9a95f..000000000
--- a/src/pages/Secret/index.js
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from './Secret.page';
diff --git a/src/providers/Auth/Auth.provider.jsx b/src/providers/Auth/Auth.provider.jsx
deleted file mode 100644
index b47385253..000000000
--- a/src/providers/Auth/Auth.provider.jsx
+++ /dev/null
@@ -1,44 +0,0 @@
-import React, { useState, useEffect, useContext, useCallback } from 'react';
-
-import { AUTH_STORAGE_KEY } from '../../utils/constants';
-import { storage } from '../../utils/storage';
-
-const AuthContext = React.createContext(null);
-
-function useAuth() {
- const context = useContext(AuthContext);
- if (!context) {
- throw new Error(`Can't use "useAuth" without an AuthProvider!`);
- }
- return context;
-}
-
-function AuthProvider({ children }) {
- const [authenticated, setAuthenticated] = useState(false);
-
- useEffect(() => {
- const lastAuthState = storage.get(AUTH_STORAGE_KEY);
- const isAuthenticated = Boolean(lastAuthState);
-
- setAuthenticated(isAuthenticated);
- }, []);
-
- const login = useCallback(() => {
- setAuthenticated(true);
- storage.set(AUTH_STORAGE_KEY, true);
- }, []);
-
- const logout = useCallback(() => {
- setAuthenticated(false);
- storage.set(AUTH_STORAGE_KEY, false);
- }, []);
-
- return (
-