Programming Phoenix LiveView B3.0 P222: missing aliases

“…While you’re at it, take a quick look at your page to make sure everything is rendering correctly. We want to make sure everything is working smoothly before moving on…”

The admin-dashboard page doesn’t work, complaining about “User” and “Demographic” being undefined.

We need to add:

alias Pento.Accounts.User
alias Pento.Survey.Demographic

to lib/pento/catalog/product/query.ex

to stop it complaining and get the page to work.

Yep, you’re right! Will fix for the next Beta :rocket: