Dependency inject logger and replace println

This commit is contained in:
Guntis Smaukstelis
2023-05-21 22:37:33 +03:00
parent 00dd4a4f4a
commit 760ef4e719
10 changed files with 97 additions and 59 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ console.log("api host:", import.meta.env.VITE_API_HOST);
type Section = "aggregator" | "fileManager";
const App: Component = () => {
const [getSection, setSection] = createSignal<Section>("fileManager");
const [getSection, setSection] = createSignal<Section>("aggregator");
const section = () => getSection() === "aggregator" ? <Aggregator /> : <FileManager />;