The admin layout was incorrectly defined as a separate .html.heex file using @inner_content. Phoenix components should use render_slot(@inner_block). Moved admin layout definition into layouts.ex as a proper function component, matching the pattern used by app/1 and authenticated/1 layouts. |
||
|---|---|---|
| .. | ||
| layouts | ||
| core_components.ex | ||
| layouts.ex | ||