Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrocp committed Jan 29, 2024
1 parent 3e504ac commit 2f5f273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/beacon/loader/page_module_loader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,12 @@ defmodule Beacon.Loader.PageModuleLoader do
for variant <- variants do
page = %{page | template: variant.template}
template = Lifecycle.Template.load_template(page)
{:ok, page} = HEEx.compile(page.site, page.path, template)
{:ok, ast} = HEEx.compile(page.site, page.path, template)

[
variant.name,
variant.weight,
page
ast
]
end
end
Expand Down

0 comments on commit 2f5f273

Please sign in to comment.