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

@@ -25,7 +25,7 @@ export default function archivedDownloads() {
>
<CircularProgress color="primary" />
</Backdrop>
{
{/*
archived.length > 0 ?
<Grid container spacing={{ xs: 2, md: 2 }} columns={{ xs: 4, sm: 8, md: 12 }} pt={2}>
{
@@ -40,7 +40,7 @@ export default function archivedDownloads() {
}
</Grid>
: null
}
*/}
</Container>
);
}

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)