From 5824c353f978a5b9ab9696451ee3014c6a614ffc Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Tue, 22 Oct 2024 07:46:43 +0100 Subject: Refactors importer to use core stuff --- gui/src/components/app/App.css | 1 - gui/src/components/app/App.tsx | 33 --------------------------------- 2 files changed, 34 deletions(-) delete mode 100644 gui/src/components/app/App.css delete mode 100644 gui/src/components/app/App.tsx (limited to 'gui/src/components/app') diff --git a/gui/src/components/app/App.css b/gui/src/components/app/App.css deleted file mode 100644 index 8b13789..0000000 --- a/gui/src/components/app/App.css +++ /dev/null @@ -1 +0,0 @@ - diff --git a/gui/src/components/app/App.tsx b/gui/src/components/app/App.tsx deleted file mode 100644 index e9ef742..0000000 --- a/gui/src/components/app/App.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import { createResource, Match, Resource, Switch } from 'solid-js'; -import Histogram from '../histogram/Histogram' -import './App.css' -import { getAllCategories } from '../../ajax/backend'; -import { Category } from '../../types/category'; - -function App() { - const [categories] = createResource(getAllCategories); - - return ( - - - , { state: 'ready' }>)()} /> - - -

Loading...

-
- -

Unresolved!

-
- -

Error!

-

{JSON.stringify(categories.error, null, 2)}

-

{JSON.stringify(categories(), null, 2)}

-
- -

Refreshing!

-
-
- ); -} - -export default App -- cgit v1.2.3