New marks and settings refactor #323
@ -1,6 +1,5 @@
|
|||||||
import AccountCircleIcon from '@mui/icons-material/AccountCircle'
|
import AccountCircleIcon from '@mui/icons-material/AccountCircle'
|
||||||
import ArrowForwardIosIcon from '@mui/icons-material/ArrowForwardIos'
|
import ArrowForwardIosIcon from '@mui/icons-material/ArrowForwardIos'
|
||||||
import CachedIcon from '@mui/icons-material/Cached'
|
|
||||||
import RouterIcon from '@mui/icons-material/Router'
|
import RouterIcon from '@mui/icons-material/Router'
|
||||||
import { ListItem, useTheme } from '@mui/material'
|
import { ListItem, useTheme } from '@mui/material'
|
||||||
import List from '@mui/material/List'
|
import List from '@mui/material/List'
|
||||||
@ -74,12 +73,6 @@ export const SettingsPage = () => {
|
|||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
{listItem('Relays')}
|
{listItem('Relays')}
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<ListItem component={Link} to={appPrivateRoutes.cacheSettings}>
|
|
||||||
<ListItemIcon>
|
|
||||||
<CachedIcon />
|
|
||||||
</ListItemIcon>
|
|
||||||
{listItem('Local Cache')}
|
|
||||||
</ListItem>
|
|
||||||
{loginMethod === LoginMethod.nostrLogin && (
|
{loginMethod === LoginMethod.nostrLogin && (
|
||||||
<ListItem component={Link} to={appPrivateRoutes.nostrLogin}>
|
<ListItem component={Link} to={appPrivateRoutes.nostrLogin}>
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
|
@ -6,7 +6,6 @@ export const appPrivateRoutes = {
|
|||||||
sign: '/sign',
|
sign: '/sign',
|
||||||
settings: '/settings',
|
settings: '/settings',
|
||||||
profileSettings: '/settings/profile/:npub',
|
profileSettings: '/settings/profile/:npub',
|
||||||
cacheSettings: '/settings/cache',
|
|
||||||
relays: '/settings/relays',
|
relays: '/settings/relays',
|
||||||
nostrLogin: '/settings/nostrLogin'
|
nostrLogin: '/settings/nostrLogin'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user