service outages and use nws api

This commit is contained in:
Nicholas Orlowsky 2022-10-22 16:29:26 -05:00
commit 92b527c3a2
No known key found for this signature in database
GPG key ID: 3845F78A73B14100
2 changed files with 2 additions and 5 deletions

View file

@ -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[]>([]);