JSFiddle - React, Tailwind, and code Playground

by Hugo Licon

JavaScript

console.log('*****')
                    console.log(this.info_table);
                    console.log('*****')
                    // const promises = [];
                    // this.info_table.forEach(({id}) => {
                    //     promises.push(Courer.track(id))
                    // });
                    // const t0 = performance.now();
                    // Promise.all(promises).then(values => {
                    //     const t1 = performance.now();
                    //     console.log("Call to doSomething took " + (t1 - t0) + " milliseconds.");
                    //     values.forEach((e, i) => {
                    //         const {created_at} = e.data.data || 'N/A'
                    //         const obj = this.info_table[i];
                    //         this.info_table[i] = {...obj, mobile_phone_status: 1, last_report: created_at}
                    //     })
                    //     console.log('*****')
                    //     console.log(this.info_table);
                    //     console.log('*****')
                    // }).catch(e => {
                    //     console.log(`error: ${e}`)
                    // });