From de55b59141a82c68b6a5b360d6f57a7e760e2fd6 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Tue, 26 Apr 2022 15:11:27 +1000
Subject: Make TolMap have Map type

---
 src/components/Tile.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/Tile.vue')

diff --git a/src/components/Tile.vue b/src/components/Tile.vue
index c5c261d..1087a58 100644
--- a/src/components/Tile.vue
+++ b/src/components/Tile.vue
@@ -28,8 +28,8 @@ export default defineComponent({
 		};
 	},
 	computed: {
-		tolNode(): TolNode{
-			return this.tolMap[this.layoutNode.name];
+		tolNode(): TolNode {
+			return this.tolMap.get(this.layoutNode.name)!;
 		},
 		// Basic abbreviations
 		isLeaf(): boolean {
-- 
cgit v1.2.3

