Created
July 14, 2022 05:56
-
-
Save Joshscorp/335872cc6c1f38ed97ce52a44d268749 to your computer and use it in GitHub Desktop.
OnzAuth AppJS import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import './App.css'; | |
import React, { useState, useEffect } from 'react'; | |
import { Route, Routes, useNavigate } from 'react-router-dom'; | |
import ProtectedPage from './components/ProtectedPage/ProtectedPage'; | |
import PublicPage from './components/PublicPage/PublicPage'; | |
import ProtectedRoute from './components/ProtectedRoute/ProtectedRoute'; | |
import * as onz from 'onz-auth'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment