test connection

This commit is contained in:
Jan Prochazka
2020-01-01 12:48:47 +01:00
parent 7b7aaa8e0f
commit ae3bb23d4c
8 changed files with 1164 additions and 46 deletions

View File

@@ -1,12 +1,9 @@
import React from "react";
import useFetch from "./useFetch";
import "./index.css";
import Screen from "./Screen";
import {CurrentWidgetProvider} from "./widgets/useCurrentWidget";
function App() {
const resp = useFetch("http://localhost:3000", {});
console.log("FETCH data", resp.data);
return (
<CurrentWidgetProvider>
<Screen />