diff --git a/FE/simple-sheet-fe/package.json b/FE/simple-sheet-fe/package.json index 1f06230..7cb70f0 100644 --- a/FE/simple-sheet-fe/package.json +++ b/FE/simple-sheet-fe/package.json @@ -34,5 +34,6 @@ "last 1 firefox version", "last 1 safari version" ] - } + }, + "proxy": "http://localhost:8080" } diff --git a/FE/simple-sheet-fe/src/App.js b/FE/simple-sheet-fe/src/App.js index 3784575..bb25434 100644 --- a/FE/simple-sheet-fe/src/App.js +++ b/FE/simple-sheet-fe/src/App.js @@ -1,25 +1,47 @@ +import React, {useState, useEffect} from 'react'; import logo from './logo.svg'; import './App.css'; function App() { - return ( -
- Edit src/App.js
and save to reload.
-
error
; + } else if (!isLoaded) { + returnloading
; + } else { + return ( +