Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: update cobe version to reduce lag on /career and remove height/width assignment per frame (#40908)

Anish Paudelfdea1be777d8
diff --git a/apps/www/components/Globe.tsx b/apps/www/components/Globe.tsx
index 2303317b2c7..856662185f7 100644
--- a/apps/www/components/Globe.tsx
+++ b/apps/www/components/Globe.tsx
@@ -52,8 +52,6 @@ const Globe = () => {
onRender: (state) => {
state.phi = rotation
rotation += 0.0025
- state.width = width * 2
- state.height = width * 2
},
})
setTimeout(() => (canvasRef.current.style.opacity = '0.8'), 10)
diff --git a/apps/www/package.json b/apps/www/package.json
index 76c90dd9cb5..b51a178eb94 100644
--- a/apps/www/package.json
+++ b/apps/www/package.json
@@ -41,7 +41,7 @@
"class-variance-authority": "^0.7.1",
"classnames": "^2.3.1",
"clsx": "^1.2.1",
- "cobe": "^0.6.2",
+ "cobe": "^0.6.5",
"common": "workspace:*",
"common-tags": "^1.8.2",
"config": "workspace:*",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 0aa8037bbbc..47dd98095a5 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1647,8 +1647,8 @@ importers:
specifier: ^1.2.1
version: 1.2.1
cobe:
- specifier: ^0.6.2
- version: 0.6.3
+ specifier: ^0.6.5
+ version: 0.6.5
common:
specifier: workspace:*
version: link:../../packages/common
@@ -10922,8 +10922,8 @@ packages:
react: ^18 || ^19 || ^19.0.0-rc
react-dom: ^18 || ^19 || ^19.0.0-rc
- resolution: {integrity: sha512-WHr7X4o1ym94GZ96h7b1pNemZJacbOzd02dZtnVwuC4oWBaLg96PBmp2rIS1SAhUDhhC/QyS9WEqkpZIs/ZBTg==}
+ resolution: {integrity: sha512-MA8bu81EFY6JjQpj+FovEuhyJ25khx2Q7Lh+ot/UkCJe5yKyDgzdc6u2lGZIOmsZTXK6Itg1i4lQZIJZbPWnAg==}
resolution: {integrity: sha512-c5or4P6erEA69TxaxTNcHUNcIn+oyxSRTOWV+pSYF+z4epXqNvwvJ70XPGjPNgue83oAFAPBRQYwpAJ/Hpe/Sg==}
@@ -30894,7 +30894,7 @@ snapshots:
- '@types/react'
- '@types/react-dom'
dependencies:
phenomenon: 1.6.0