From b2a983fd05ab76dca473f7f885ba2aecd61a363e Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Thu, 27 Jun 2024 16:07:47 +0200 Subject: [PATCH] Fix creating a token issue on empty document --- frontend/src/app/main/refs.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/refs.cljs b/frontend/src/app/main/refs.cljs index a84a6fe82..d69c319c2 100644 --- a/frontend/src/app/main/refs.cljs +++ b/frontend/src/app/main/refs.cljs @@ -232,7 +232,7 @@ (def workspace-tokens (l/derived (fn [data] - (get data :tokens [])) + (get data :tokens {})) workspace-data =))