From c64dd6fce6e2f383fa8e60eec2883b4dd3aafb4b Mon Sep 17 00:00:00 2001
From: Jake Taylor <jake@elixxir.io>
Date: Mon, 24 Oct 2022 13:11:19 -0500
Subject: [PATCH] comment

---
 indexedDb/init.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/indexedDb/init.go b/indexedDb/init.go
index d21564a2..632ad0ee 100644
--- a/indexedDb/init.go
+++ b/indexedDb/init.go
@@ -91,6 +91,9 @@ func newWASMModel(databaseName string, cb MessageReceivedCallback) (
 		return nil, err
 	}
 
+	// FIXME: The below is a hack that for some reason prevents moving on with
+	//        uninitialized database despite the previous call to Await.
+	//        It would be idea to find a different solution.
 	// Close and open again to ensure the state is finalized
 	err = db.Close()
 	if err != nil {
-- 
GitLab