Skip to content

Commit

Permalink
fix(presenter): errors on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Jun 4, 2023
1 parent b83d9a4 commit ea5fe1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/neorg/modules/core/presenter/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ module.load = function()
local keybinds = module.required["core.keybinds"]

if module.config.public.zen_mode == "truezen" then
neorg.modules.load_module("core.integrations.truezen", module.name)
neorg.modules.load_module("core.integrations.truezen")
elseif module.config.public.zen_mode == "zen-mode" then
neorg.modules.load_module("core.integrations.zen_mode", module.name)
neorg.modules.load_module("core.integrations.zen_mode")
else
log.error("Unrecognized mode for 'zen_mode' option. Please check your presenter config")
error_loading = true
Expand Down

0 comments on commit ea5fe1b

Please sign in to comment.