Code refactoring
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user