refactor: update today page check to use async block retrieval

This commit is contained in:
Mega Yu
2026-02-03 16:23:26 +08:00
parent 70787d3fea
commit 6750333df1

View File

@@ -266,7 +266,7 @@
(ui-handler/re-render-root!)
(plugin-handler/hook-plugin-app :today-journal-created {:title today-page})
result))]
(when-not (db/get-page today-page)
(when-not (db-async/<get-block repo today-page)
(create-f)))))))
(defn open-today-in-sidebar