mirror of
https://github.com/supabase/supabase.git
synced 2026-10-07 10:25:06 +03:00
Address comments
This commit is contained in:
1 parent
5de41f9382
commit
538f8db727
1 file changed
+4
-3
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user