You need to sign in to do that
Don't have an account?
Herman p Ng
Trailhead: Build the AccountList Component error
If you receive an error relate to unknown getAccounts.
Then try change the aura attribute in componment as follow and try again.
<aura:component controller="AccountsController">
<aura:attribute name="accounts" type="List" />
to
<aura:component controller="AccountsController">
<aura:attribute name="accounts" type="Account[]" />
Then try change the aura attribute in componment as follow and try again.
<aura:component controller="AccountsController">
<aura:attribute name="accounts" type="List" />
to
<aura:component controller="AccountsController">
<aura:attribute name="accounts" type="Account[]" />
I have tried this challenge now and I was able to clear the challenge with Thanks and Regards
Sandhya