Files
myeasycms-v2/apps/web/app/(dashboard)/home/(user)/settings/page.tsx
giancarlo e402caff30 Update labels and refine hooks for teams and billing modules
This commit modifies several language labels and refines hooks related to 'teams' and 'billing' modules for better clarity and consistency. It also includes the deletion of unused locale files and package dependencies transfered to 'peerDependencies'. Lastly, it introduces minor enhancements in server command, error logging functionality, and scripts to interact with Stripe.
2024-03-26 23:32:28 +08:00

28 lines
761 B
TypeScript

import { PersonalAccountSettingsContainer } from '@kit/accounts/personal-account-settings';
import featureFlagsConfig from '~/config/feature-flags.config';
import pathsConfig from '~/config/paths.config';
import { withI18n } from '~/lib/i18n/with-i18n';
const features = {
enableAccountDeletion: featureFlagsConfig.enableAccountDeletion,
};
const paths = {
callback: pathsConfig.auth.callback + `?next=${pathsConfig.app.accountHome}`,
};
function PersonalAccountSettingsPage() {
return (
<div
className={
'container mx-auto flex max-w-2xl flex-1 flex-col items-center'
}
>
<PersonalAccountSettingsContainer features={features} paths={paths} />
</div>
);
}
export default withI18n(PersonalAccountSettingsPage);