service outages and use nws api
This commit is contained in:
commit
92b527c3a2
2 changed files with 2 additions and 5 deletions
|
@ -6,6 +6,7 @@ import {Incident, UptimeResponse} from "./nws-api/types";
|
|||
import {getIncidents, getUptime} from "./nws-api/calls";
|
||||
|
||||
function App() {
|
||||
|
||||
const [uptime, setUptime] = useState<UptimeResponse>({datacenters: [], services:[]});
|
||||
const [incidents, setIncidents] = useState<Incident[]>([]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue