Skip to content

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

Address comments

Joshen Lim538f8db72734
diff --git a/studio/components/interfaces/Docs/Description.tsx b/studio/components/interfaces/Docs/Description.tsx
index e7543298078..a4f686417a2 100644
--- a/studio/components/interfaces/Docs/Description.tsx
+++ b/studio/components/interfaces/Docs/Description.tsx
@@ -1,9 +1,10 @@
+import { PermissionAction } from '@supabase/shared-types/out/constants'
+import { noop } from 'lodash'
import { useState } from 'react'
import { Button, IconLoader } from 'ui'
-import { PermissionAction } from '@supabase/shared-types/out/constants'
-import { useStore, useCheckPermissions } from 'hooks'
import AutoTextArea from 'components/to-be-cleaned/forms/AutoTextArea'
+import { useCheckPermissions, useStore } from 'hooks'
import { timeout } from 'lib/helpers'
// Removes some auto-generated Postgrest text
@@ -26,7 +27,7 @@ interface DescrptionProps {
onChange: (value: string) => void
}
-const Description = ({ content, metadata, onChange = () => {} }: DescrptionProps) => {
+const Description = ({ content, metadata, onChange = noop }: DescrptionProps) => {
const { meta, ui } = useStore()
const contentText = temp_removePostgrestText(content || '').trim()