Select weather fields for country view

This commit is contained in:
Guntis Smaukstelis
2023-12-25 12:09:58 +02:00
parent a48b9df91f
commit 5324f4c176
6 changed files with 75 additions and 7 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ console.log("api host:", import.meta.env.VITE_API_HOST);
type Section = "cities" | "country" | "database";
const App: Component = () => {
const [getSection, setSection] = createSignal<Section>("country");
const [getSection, setSection] = createSignal<Section>("cities");
const section = () => {
switch(getSection()) {