Once "Available WIFI Networks" button is clicked, the modal will be rendered and the Wi-Fi list will be shown. My question is how do I retrieve a specific Wi-Fi SSID after clicking on one of the Wi-Fi on the list?
*I tried using: this.state.wifiList[w].SSID but it is always the last Wi-Fi's SSID on the list, not the one I click on.
Once "Available WIFI Networks" button is clicked, the modal will be rendered and the Wi-Fi list will be shown. My question is how do I retrieve a specific Wi-Fi SSID after clicking on one of the Wi-Fi on the list?
*I tried using: this.state.wifiList[w].SSID but it is always the last Wi-Fi's SSID on the list, not the one I click on.