code refactoring, enabled memory db persist to fs.

This commit is contained in:
2023-05-25 11:13:46 +02:00
parent acfc5aa064
commit fd0b40ac46
10 changed files with 82 additions and 17 deletions

View File

@@ -32,7 +32,7 @@ import { RootState, store } from './stores/store'
import AppBar from './components/AppBar'
import Drawer from './components/Drawer'
import Downloaded from './Downloaded'
import Archive from './Archive'
import { formatGiB } from './utils'
function AppContent() {
@@ -148,7 +148,7 @@ function AppContent() {
<ListItemIcon>
<DownloadIcon />
</ListItemIcon>
<ListItemText primary="Downloaded" />
<ListItemText primary="Archive" />
</ListItemButton>
</Link>
<Link to={'/settings'} style={
@@ -188,7 +188,7 @@ function AppContent() {
} />
<Route path="/archive" element={
<Suspense fallback={<CircularProgress />}>
<Downloaded />
<Archive />
</Suspense>
} />
</Routes>