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. |
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| live | ||
| endpoint.ex | ||
| gettext.ex | ||
| router.ex | ||
| telemetry.ex | ||
| user_auth.ex | ||