diff --git a/UI/web/src/App.tsx b/UI/web/src/App.tsx index 473e391c..27d66022 100644 --- a/UI/web/src/App.tsx +++ b/UI/web/src/App.tsx @@ -28,15 +28,6 @@ function App() { }); - const testButton = () => { - client?.publish({ - "destination": "/app/items", - "body": "Potato" - }) - } - - - useEffect(() => { // Kjør din funksjon her når komponenten lastes inn for første gang // Sjekk om cursor er null @@ -56,16 +47,26 @@ function App() { return ( - - - - - } /> - } /> - - -