mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-21 04:59:14 +00:00
Spacing & undefined variables
This commit is contained in:
@@ -365,8 +365,8 @@ exports.LoadUtils = () => {
|
||||
returnObject.hydratedButtons = buttonsOptions.buttons;
|
||||
returnObject.buttons = new window.Store.TemplateButtonCollection();
|
||||
|
||||
message.buttons.add(
|
||||
message.hydratedButtons.map((button, index) => {
|
||||
returnObject.buttons.add(
|
||||
returnObject.hydratedButtons.map((button, index) => {
|
||||
const i = `${null != button.index ? button.index : index}`;
|
||||
|
||||
if (button.urlButton) {
|
||||
|
||||
Reference in New Issue
Block a user