City selection with display on a map

This commit is contained in:
Guntis Smaukstelis
2024-01-05 16:17:00 +02:00
parent db0fd5bf62
commit bdb2148ed3
11 changed files with 151 additions and 20 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ const App: Component = () => {
["latvia", () => <Country />],
["database", () => <Database />],
];
const [getPageTitle, setPageTitle] = createSignal("cities");
const [getPageTitle, setPageTitle] = createSignal("station");
const getPageContent = () => {
const page = pages.find(p => p[0] === getPageTitle());