diff --git a/GuessNN-webapp/index.html b/GuessNN-webapp/index.html index 11603f8..7c79e5f 100644 --- a/GuessNN-webapp/index.html +++ b/GuessNN-webapp/index.html @@ -2,9 +2,9 @@ - + - Vite App + GuessNN - Semantic word guesser
diff --git a/GuessNN-webapp/src/App.vue b/GuessNN-webapp/src/App.vue index eaf192e..69f2266 100644 --- a/GuessNN-webapp/src/App.vue +++ b/GuessNN-webapp/src/App.vue @@ -1,11 +1,18 @@ @@ -47,7 +54,7 @@ export default defineComponent({ this.entities = []; fetchJSON(entitiesURL) .then(json => this.entities = json as Array) //TODO: Create NamedEntity.fromJSON - .catch((err:Error) => this.entitiesError = `Error fetching entities: ${err.message}`) + .catch((err: Error) => this.entitiesError = `Error fetching entities: ${err.message}`) .finally(() => this.entitiesLoading = false); this.conceptsLoading = true; @@ -61,7 +68,7 @@ export default defineComponent({ // TODO: verify presence of target in json this.targetEntity = (json as any).target as string; // eslint-disable-line @typescript-eslint/no-explicit-any }) - .catch((err:Error) => this.conceptsError = `Error fetching concepts: ${err.message}`) + .catch((err: Error) => this.conceptsError = `Error fetching concepts: ${err.message}`) .finally(() => this.conceptsLoading = false); }, }); @@ -74,6 +81,12 @@ export default defineComponent({