Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
Replace generated homepage and use NavBar with login button
  • Loading branch information
ivarprudnikov committed Jan 2, 2020
1 parent 710f0bb commit 32956d4c67ac4b016dbac975485378ce948247fc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 59 deletions.

This file was deleted.

@@ -1,23 +1,20 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';
import NavBar from "./components/NavBar";
import { useAuth0 } from "./react-auth0-spa";

function App() {

const { loading } = useAuth0();

if (loading) {
return <div>Loading...</div>;

return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
Edit <code>src/App.js</code> and save to reload.
rel="noopener noreferrer"
Learn React
<NavBar />
Deleted file not rendered

0 comments on commit 32956d4

Please sign in to comment.