Removed logging, added new line in code
This commit is contained in:
parent
35d65136ca
commit
b209473ac4
2 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
SelectedGameStore.subscribe((selection) => {
|
SelectedGameStore.subscribe((selection) => {
|
||||||
selectedGame = selection;
|
selectedGame = selection;
|
||||||
console.log(selectedGameGroupsMap.size);
|
|
||||||
if (selectedGameGroupsMap.size != 0) {
|
if (selectedGameGroupsMap.size != 0) {
|
||||||
const tmp = selectedGameGroupsMap.get(selectedGame);
|
const tmp = selectedGameGroupsMap.get(selectedGame);
|
||||||
if (typeof tmp !== "undefined") {
|
if (typeof tmp !== "undefined") {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import type { PageLoad } from "../$types";
|
import type { PageLoad } from "../$types";
|
||||||
|
|
||||||
export const load: PageLoad = async ({ fetch }) => {
|
export const load: PageLoad = async ({ fetch }) => {
|
||||||
const apiBaseUrl = 'https://www.chellaris.net/api/v1';
|
const apiBaseUrl = 'https://www.chellaris.net/api/v1';
|
||||||
const popsRet: { speciesArray: Array<number> } = await (await fetch(apiBaseUrl + '/species')).json();
|
const popsRet: { speciesArray: Array<number> } = await (await fetch(apiBaseUrl + '/species')).json();
|
||||||
|
|
Reference in a new issue