diff --git a/app/frontend/src/config/environment.ts b/app/frontend/src/config/environment.ts
index 801a359..f02d524 100644
--- a/app/frontend/src/config/environment.ts
+++ b/app/frontend/src/config/environment.ts
@@ -28,15 +28,21 @@ export const BUILD_TIMESTAMP: Date = window.APP_CONFIG?.commitTime
export const CONTACT_EMAIL = confString(
window.APP_CONFIG?.contactEmail,
- import.meta.env.VITE_CONTACT_EMAIL || ""
+ typeof import.meta.env.VITE_CONTACT_EMAIL === "string"
+ ? import.meta.env.VITE_CONTACT_EMAIL
+ : "",
);
export const CONTACT_PHONE = confString(
window.APP_CONFIG?.contactPhone,
- import.meta.env.VITE_CONTACT_PHONE || ""
+ typeof import.meta.env.VITE_CONTACT_PHONE === "string"
+ ? import.meta.env.VITE_CONTACT_PHONE
+ : "",
);
export const POSITION = confString(
window.APP_CONFIG?.position,
- import.meta.env.VITE_POSITION || ""
+ typeof import.meta.env.VITE_POSITION === "string"
+ ? import.meta.env.VITE_POSITION
+ : "",
);
diff --git a/app/frontend/src/main.tsx b/app/frontend/src/main.tsx
index d223b4b..e8a3cb3 100644
--- a/app/frontend/src/main.tsx
+++ b/app/frontend/src/main.tsx
@@ -1,10 +1,10 @@
import React from "react";
-import ReactDOM from "react-dom/client";
+import { createRoot } from "react-dom/client";
import App from "./App";
-ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
+createRoot(document.getElementById("root") as HTMLElement).render(
-
+ ,
);
diff --git a/app/frontend/src/views/Dashboard.tsx b/app/frontend/src/views/Dashboard.tsx
index 77a43d9..9b1074a 100644
--- a/app/frontend/src/views/Dashboard.tsx
+++ b/app/frontend/src/views/Dashboard.tsx
@@ -28,7 +28,7 @@ const Dashboard: React.FC = () => {
{intl.formatMessage({
defaultMessage: "Central Bohemia, Czechia",
- id: "Dashboard.location",
+ id: "Lkk994",
})}
@@ -49,7 +49,7 @@ const Dashboard: React.FC = () => {
{intl.formatMessage({
defaultMessage: "Skills",
- id: "Dashboard.skillsTitle",
+ id: "4JISx9",
})}
@@ -63,7 +63,7 @@ const Dashboard: React.FC = () => {
{intl.formatMessage({
defaultMessage: "Experience",
- id: "Dashboard.experienceTitle",
+ id: "W1qv5r",
})}
diff --git a/app/frontend/src/views/NotFound.tsx b/app/frontend/src/views/NotFound.tsx
index 8eaa7f1..c08af94 100644
--- a/app/frontend/src/views/NotFound.tsx
+++ b/app/frontend/src/views/NotFound.tsx
@@ -21,7 +21,7 @@ const NotFound = () => {
{intl.formatMessage({
defaultMessage: "Nothing to see here",
- id: "Router.NotFound",
+ id: "ywIjM0",
})}
Go home
diff --git a/app/frontend/src/views/Router.tsx b/app/frontend/src/views/Router.tsx
index ebff3fd..313f31b 100644
--- a/app/frontend/src/views/Router.tsx
+++ b/app/frontend/src/views/Router.tsx
@@ -1,6 +1,5 @@
-import React from "react";
-import { Outlet, RouterProvider } from "react-router-dom";
-import { createBrowserRouter } from "react-router-dom";
+import React, { lazy } from "react";
+import { Outlet, RouterProvider, createBrowserRouter } from "react-router-dom";
import { ErrorBoundary } from "../components/ErrorBoundary";
import Dashboard from "./Dashboard";
@@ -13,7 +12,7 @@ const Layout: React.FC = () => {
);
};
-const NotFound = React.lazy(() => import("./NotFound"));
+const NotFound = lazy(() => import("./NotFound"));
const router = createBrowserRouter([
{