Skip to content

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

Fix missing ternary

Joshen Limb97b25d4cb52
diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.js
index 48e9dc32bad..e00d6238ec8 100644
--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.js
+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.js
@@ -167,7 +167,7 @@ const StorageExplorer = observer(({ bucket }) => {
const onCopyUrl = (name, url) => {
const formattedUrl =
- customDomainData?.customDomain.status === 'active'
+ customDomainData?.customDomain?.status === 'active'
? url.replace(apiUrl, `https://${customDomainData.customDomain.hostname}`)
: url
copyToClipboard(formattedUrl, () => {