service outages and use nws api
This commit is contained in:
commit
92b527c3a2
|
@ -2,10 +2,6 @@
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="03fafda4-e2c1-4602-a731-a2f96e84badd" name="Default Changelist" comment="">
|
<list default="true" id="03fafda4-e2c1-4602-a731-a2f96e84badd" name="Default Changelist" comment="">
|
||||||
<change afterPath="$PROJECT_DIR$/src/nws-api/calls.ts" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/src/nws-api/types.ts" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/App.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/App.css" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/App.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/App.tsx" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/App.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/App.tsx" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
|
@ -68,7 +64,7 @@
|
||||||
<workItem from="1643936709048" duration="547000" />
|
<workItem from="1643936709048" duration="547000" />
|
||||||
<workItem from="1648500425230" duration="246000" />
|
<workItem from="1648500425230" duration="246000" />
|
||||||
<workItem from="1658028513357" duration="2964000" />
|
<workItem from="1658028513357" duration="2964000" />
|
||||||
<workItem from="1666469240565" duration="3204000" />
|
<workItem from="1666469240565" duration="3558000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
|
|
@ -6,6 +6,7 @@ import {Incident, UptimeResponse} from "./nws-api/types";
|
||||||
import {getIncidents, getUptime} from "./nws-api/calls";
|
import {getIncidents, getUptime} from "./nws-api/calls";
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
|
|
||||||
const [uptime, setUptime] = useState<UptimeResponse>({datacenters: [], services:[]});
|
const [uptime, setUptime] = useState<UptimeResponse>({datacenters: [], services:[]});
|
||||||
const [incidents, setIncidents] = useState<Incident[]>([]);
|
const [incidents, setIncidents] = useState<Incident[]>([]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue