Code refactoring

This commit is contained in:
2022-06-23 07:44:25 +02:00
parent 1248332fb4
commit ed127d68b1
4 changed files with 22 additions and 20 deletions

View File

@@ -40,7 +40,7 @@ export default function Settings({ socket }: Props) {
/**
* Update the server ip address state and localstorage whenever the input value changes.
* Validate the ip-addr then set.s
* @param e Input change event
* @param event Input change event
*/
const handleAddrChange = (event: any) => {
const $serverAddr = of(event)