Skip to content

Commit 1de206f

Browse files
Update wifi.js
1 parent ea47921 commit 1de206f

File tree

1 file changed

+5
-0
lines changed
  • src/reachy_mini/daemon/app/dashboard/static/js

1 file changed

+5
-0
lines changed

src/reachy_mini/daemon/app/dashboard/static/js/wifi.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ const connectToWifi = (_) => {
6868
throw new Error(errData.detail || 'Failed to connect to WiFi');
6969
});
7070
}
71+
72+
// Clear the form fields
73+
document.getElementById('ssid').value = '';
74+
document.getElementById('password').value = '';
75+
7176
return response.json();
7277
})
7378
.then(data => {

0 commit comments

Comments
 (0)