feat: Move About and Terms into separate modal

This commit is contained in:
Maksim Eltyshev
2025-12-12 16:10:07 +01:00
parent 12f388fd35
commit a47bdb9c8a
48 changed files with 170 additions and 94 deletions

View File

@@ -13,8 +13,6 @@ import { useClosableModal } from '../../../hooks';
import AccountPane from './AccountPane';
import PreferencesPane from './PreferencesPane';
import NotificationsPane from './NotificationsPane';
import TermsPane from './TermsPane';
import AboutPane from './AboutPane';
const UserSettingsModal = React.memo(() => {
const dispatch = useDispatch();
@@ -45,18 +43,6 @@ const UserSettingsModal = React.memo(() => {
}),
render: () => <NotificationsPane />,
},
{
menuItem: t('common.terms', {
context: 'title',
}),
render: () => <TermsPane />,
},
{
menuItem: t('common.aboutPlanka', {
context: 'title',
}),
render: () => <AboutPane />,
},
];
return (