Skip to content

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

fix: stop dragging on storage image

Alaister Young1deff4565fc4
diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.js
index 8972c794999..eb8be9e7145 100644
--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.js
+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.js
@@ -233,7 +233,7 @@ const FileExplorerColumn = ({
{/* Drag drop upload CTA for when column is empty */}
{column.items.length === 0 && column.status !== STORAGE_ROW_STATUS.LOADING && (
<div className="h-full w-full flex flex-col items-center justify-center">
- <img src="/img/storage-placeholder.svg" className="opacity-75" />
+ <img src="/img/storage-placeholder.svg" className="opacity-75 pointer-events-none" />
<p className="my-3 opacity-75">Drop your files here</p>
<p className="text-sm text-center w-40 text-scale-1100">
Or upload them via the "Upload file" button above
diff --git a/studio/tsconfig.json b/studio/tsconfig.json
index 71436a2fdd4..200eb6a9998 100644
--- a/studio/tsconfig.json
+++ b/studio/tsconfig.json
@@ -14,7 +14,8 @@
"isolatedModules": true,
"jsx": "preserve",
"baseUrl": ".",
- "downlevelIteration": true
+ "downlevelIteration": true,
+ "incremental": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
"exclude": ["node_modules"]