mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-03 10:54:38 -05:00
section extension languages
This commit is contained in:
@@ -14,7 +14,7 @@ import {
|
||||
ListItemIcon, ListItemText,
|
||||
} from '@material-ui/core';
|
||||
import ListItem, { ListItemProps } from '@material-ui/core/ListItem';
|
||||
import NavBarTitle from '../context/NavbarTitle';
|
||||
import NavbarContext from '../context/NavbarContext';
|
||||
import DarkTheme from '../context/DarkTheme';
|
||||
import useLocalStorage from '../util/useLocalStorage';
|
||||
|
||||
@@ -24,7 +24,7 @@ function ListItemLink(props: ListItemProps<'a', { button?: true }>) {
|
||||
}
|
||||
|
||||
export default function Settings() {
|
||||
const { setTitle } = useContext(NavBarTitle);
|
||||
const { setTitle } = useContext(NavbarContext);
|
||||
setTitle('Settings');
|
||||
const { darkTheme, setDarkTheme } = useContext(DarkTheme);
|
||||
const [serverAddress, setServerAddress] = useLocalStorage<String>('serverBaseURL', '');
|
||||
|
||||
Reference in New Issue
Block a user