* refactor(settings): move network settings to their own settings tab This PR moves the network settings out of the General Settings section to a new Netowrk Settings tab. * fix: add missing translations * fix: fix cypress tests for network settings * refactor: create a separate section for network settings
17 lines
490 B
TypeScript
17 lines
490 B
TypeScript
import SettingsLayout from '@app/components/Settings/SettingsLayout';
|
|
import SettingsNetwork from '@app/components/Settings/SettingsNetwork';
|
|
import useRouteGuard from '@app/hooks/useRouteGuard';
|
|
import { Permission } from '@app/hooks/useUser';
|
|
import type { NextPage } from 'next';
|
|
|
|
const SettingsNetworkPage: NextPage = () => {
|
|
useRouteGuard(Permission.ADMIN);
|
|
return (
|
|
<SettingsLayout>
|
|
<SettingsNetwork />
|
|
</SettingsLayout>
|
|
);
|
|
};
|
|
|
|
export default SettingsNetworkPage;
|