tycho-components 0.2.2-SNAPSHOT-6 → 0.2.2-SNAPSHOT-8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@ export default function ErrorFound() {
12
12
  const error = useRouteError();
13
13
  const [show, setShow] = useState(false);
14
14
  const handleRedirect = () => {
15
- navigate(`${import.meta.env.VITE_APP_PUBLIC_URL}`, { replace: true });
15
+ navigate('/', { replace: true });
16
16
  };
17
17
  const handleRetry = () => {
18
18
  const redirectUri = CookieStorage.getRedirectUri();
@@ -7,7 +7,7 @@ export default function NotFound() {
7
7
  const navigate = useNavigate();
8
8
  const { t } = useTranslation('base');
9
9
  const handleRedirect = () => {
10
- navigate(`${import.meta.env.VITE_APP_PUBLIC_URL}`, { replace: true });
10
+ navigate('', { replace: true });
11
11
  };
12
12
  return (_jsx("div", { className: "box-container", children: _jsxs("div", { className: "box", children: [_jsx("img", { src: logo }), _jsx("div", { className: "title", children: t('notfound.label.disclaimer') }), _jsx("div", { className: "subtitle", onClick: handleRedirect, children: t('label.redirect') })] }) }));
13
13
  }
@@ -8,7 +8,7 @@ export const BaseTexts = {
8
8
  'unauthorized.label.disclaimer': 'You are not authorized to access this content.',
9
9
  'unauthorized.label.redirect': 'Click here to be redirected to the login page',
10
10
  'notfound.label.disclaimer': 'Ops, page not found.',
11
- 'label.redirect': 'Go to login page',
11
+ 'label.redirect': 'Go to main page',
12
12
  'label.retry': 'Retry',
13
13
  'label.error.details': 'Error details',
14
14
  'label.error.found': 'Ops, an error has occurred.',
@@ -22,7 +22,7 @@ export const BaseTexts = {
22
22
  'unauthorized.label.disclaimer': 'Você não está autorizado a acessar este conteúdo.',
23
23
  'unauthorized.label.redirect': 'Clique aqui para ser redirecionado para a página de login',
24
24
  'notfound.label.disclaimer': 'Ops, página não encontrada.',
25
- 'label.redirect': 'Página de login',
25
+ 'label.redirect': 'Página principal',
26
26
  'label.retry': 'Tentar novamente',
27
27
  'label.error.details': 'Detalhes do erro',
28
28
  'label.error.found': 'Ops, ocorreu um erro.',
@@ -36,7 +36,7 @@ export const BaseTexts = {
36
36
  'unauthorized.label.disclaimer': 'Non sei autorizzato a accedere a questo contenuto.',
37
37
  'unauthorized.label.redirect': 'Clicca qui per essere reindirizzato alla pagina di accesso',
38
38
  'notfound.label.disclaimer': 'Ops, pagina non trovata.',
39
- 'label.redirect': 'Pagina di accesso',
39
+ 'label.redirect': 'Pagina principale',
40
40
  'label.retry': 'Riprova',
41
41
  'label.error.details': "Dettagli dell'errore",
42
42
  'label.error.found': 'Ops, si è verificato un errore.',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tycho-components",
3
3
  "private": false,
4
- "version": "0.2.2-SNAPSHOT-6",
4
+ "version": "0.2.2-SNAPSHOT-8",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {