Removed logging, added new line in code

This commit is contained in:
Neshura 2023-08-13 03:24:08 +02:00
parent 35d65136ca
commit b209473ac4
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 1 additions and 1 deletions

View file

@ -8,7 +8,6 @@
SelectedGameStore.subscribe((selection) => {
selectedGame = selection;
console.log(selectedGameGroupsMap.size);
if (selectedGameGroupsMap.size != 0) {
const tmp = selectedGameGroupsMap.get(selectedGame);
if (typeof tmp !== "undefined") {

View file

@ -1,4 +1,5 @@
import type { PageLoad } from "../$types";
export const load: PageLoad = async ({ fetch }) => {
const apiBaseUrl = 'https://www.chellaris.net/api/v1';
const popsRet: { speciesArray: Array<number> } = await (await fetch(apiBaseUrl + '/species')).json();