Merge pull request 'fix(Footer): mudança de ordem das chamadas para aparecer os icons sem precisar do mutation' (#4) from feature/footer into develop

Reviewed-on: #4
This commit is contained in:
Ramon Dias Ferreira 2022-12-19 00:05:54 +00:00
commit 8952a8ebb4

View File

@ -8,6 +8,8 @@ export default class Footer {
async init() {
this.list = await this.requestApi();
await this.selectors();
this.creditCardIconsHTML();
this.developedByIconsHTML();
if (window.location.hash === "#/cart") {
await this.shelfUpdate();
}
@ -15,8 +17,6 @@ export default class Footer {
this.shelfItens();
this.events();
this.addCarrossel();
this.creditCardIconsHTML();
this.developedByIconsHTML();
}