From 76d899dba2b228157da319024db7a2cbffef5952 Mon Sep 17 00:00:00 2001
From: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
Date: Thu, 26 Jun 2025 20:36:16 +0200
Subject: [PATCH] fix(lib): fixed profile crash on browser translation (#270)
* fixed profile crash on browser translation
* fix linting
---
frontend/package-lock.json | 8 ++++----
frontend/package.json | 2 +-
lib/package-lock.json | 4 ++--
lib/package.json | 2 +-
.../ItemPopupComponents/TextView.tsx | 20 ++++++++++---------
package-lock.json | 10 ++++++++++
6 files changed, 29 insertions(+), 17 deletions(-)
create mode 100644 package-lock.json
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index 62763057..5dc437c6 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -18,7 +18,7 @@
"react-dom": "^18.2.0",
"react-rnd": "^10.4.1",
"react-router-dom": "^6.23.0",
- "utopia-ui": "^3.0.105"
+ "utopia-ui": "^3.0.110"
},
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
@@ -11438,9 +11438,9 @@
}
},
"node_modules/utopia-ui": {
- "version": "3.0.105",
- "resolved": "https://registry.npmjs.org/utopia-ui/-/utopia-ui-3.0.105.tgz",
- "integrity": "sha512-QihvnHeR0R9GXIZ/Mx1EBlsYBthhykM/jPdfN/5bHyyBAXGX0jm+6msEySo0jFWASxPr2G4rhImJJzeRxPyUhw==",
+ "version": "3.0.110",
+ "resolved": "https://registry.npmjs.org/utopia-ui/-/utopia-ui-3.0.110.tgz",
+ "integrity": "sha512-uwcdXSsttQbCJc++ZnPPHoNfxpTiklJLGbFQISbJ27VbXS9yVIBD38En/cTzW1hZUOex2HkxFcKOfIOG8fkhRg==",
"license": "GPL-3.0-only",
"dependencies": {
"@heroicons/react": "^2.0.17",
diff --git a/frontend/package.json b/frontend/package.json
index 280f172d..c539a5fe 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -20,7 +20,7 @@
"react-dom": "^18.2.0",
"react-rnd": "^10.4.1",
"react-router-dom": "^6.23.0",
- "utopia-ui": "^3.0.105"
+ "utopia-ui": "^3.0.110"
},
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
diff --git a/lib/package-lock.json b/lib/package-lock.json
index 68cddb52..17479aa6 100644
--- a/lib/package-lock.json
+++ b/lib/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "utopia-ui",
- "version": "3.0.106",
+ "version": "3.0.110",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "utopia-ui",
- "version": "3.0.106",
+ "version": "3.0.110",
"license": "GPL-3.0-only",
"dependencies": {
"@heroicons/react": "^2.0.17",
diff --git a/lib/package.json b/lib/package.json
index b65f9562..f663a4d3 100644
--- a/lib/package.json
+++ b/lib/package.json
@@ -1,6 +1,6 @@
{
"name": "utopia-ui",
- "version": "3.0.106",
+ "version": "3.0.110",
"description": "Reuseable React Components to build mapping apps for real life communities and networks",
"repository": "https://github.com/utopia-os/utopia-ui",
"homepage": "https://utopia-os.org/",
diff --git a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx
index 8936a19a..93fce564 100644
--- a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx
+++ b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx
@@ -129,15 +129,17 @@ export const TextView = ({
}
return (
-