More updates #26

This commit is contained in:
prayag17 committed 2023-04-21 17:38:36 +05:30
1 parent 0035488770
commit fa3b2c7e6b
12 files changed
+146 -64

No files matched your search

+14 -1
View File
@@ -216,7 +216,20 @@ export const ServerSetup = (props) => {
variant="outlined"
// inputRef={serverIp}
onChange={(event) => {
setServerIp(event.target.value);
if (
event.target.value.charAt(
event.target.value.length - 1,
) == "/"
) {
setServerIp(
event.target.value.slice(
0,
-1,
),
);
} else {
setServerIp(event.target.value);
}
}}
helperText="Add your server adddress with https:// or http://"
></TextField>