import ChevronRightIcon from '@mui/icons-material/ChevronRight'; import { Divider, List, ListItemButton } from '@mui/material'; import { useTranslation } from 'react-i18next'; import { ListItemText } from '@/components/ListItem'; import { Paper, SectionTitle } from '../PreferenceComponents'; import type { ISectionProps } from '../useSections'; import { WindowNames } from '@services/windows/WindowProperties'; export function Miscellaneous(props: ISectionProps): React.JSX.Element { const { t } = useTranslation(); return ( <> {t('Preference.Miscellaneous')} { await window.service.window.open(WindowNames.about); }} > { await window.service.native.openURI('https://github.com/tiddly-gittly/TidGi-desktop/'); }} > { await window.service.native.openURI('https://github.com/tiddly-gittly/TidGi-desktop/issues'); }} > { window.service.native.quit(); }} > ); }