Integrate i18n into AuthCallbackErrorPage
Added i18n support to the AuthCallbackErrorPage. This ensures consistent internationalization and localization across all pages, helping deliver proper error messages in different languages.
This commit is contained in:
@@ -6,6 +6,7 @@ import { Button } from '@kit/ui/button';
|
||||
import { Trans } from '@kit/ui/trans';
|
||||
|
||||
import pathsConfig from '~/config/paths.config';
|
||||
import { withI18n } from '~/lib/i18n/with-i18n';
|
||||
|
||||
interface Params {
|
||||
searchParams: {
|
||||
@@ -47,4 +48,4 @@ function AuthCallbackErrorPage({ searchParams }: Params) {
|
||||
);
|
||||
}
|
||||
|
||||
export default AuthCallbackErrorPage;
|
||||
export default withI18n(AuthCallbackErrorPage);
|
||||
|
||||
Reference in New Issue
Block a user