From 65776efd06549b9d1cb63824f4c8a2bb29304848 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Thu, 7 Jan 2021 16:11:48 -0700 Subject: [PATCH] Fix error that prevents rendering of the entire board --- web/src/components/GameBoard.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/GameBoard.vue b/web/src/components/GameBoard.vue index 34347f3..30c263c 100644 --- a/web/src/components/GameBoard.vue +++ b/web/src/components/GameBoard.vue @@ -114,7 +114,7 @@ export default { return this.$store.getters.otherTeamName.replace(/\s/g, `-`).toLowerCase(); }, answers() { - return this.$store.state.answer; + return this.$store.state.answers; }, }, methods: { @@ -146,7 +146,7 @@ export default { * value: string * } */ - this.$store.commit(`UpdateAnswer`, data); + this.$store.commit(`updateAnswer`, data); }, }, }