mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 07:09:07 +03:00
Remove console log
This commit is contained in:
1 parent
fe5d04a222
commit
99d6faf931
1 file changed
-2
@@ -12,11 +12,9 @@ export function NumberEditor<TRow, TSummaryRow = unknown>({
|
||||
onClose,
|
||||
}: RenderEditCellProps<TRow, TSummaryRow>) {
|
||||
const value = row[column.key as keyof TRow] as unknown as string
|
||||
console.log('NumberEditor', value)
|
||||
|
||||
function onChange(event: React.ChangeEvent<HTMLInputElement>) {
|
||||
const _value = event.target.value
|
||||
console.log('onChange', _value)
|
||||
if (_value === '') onRowChange({ ...row, [column.key]: null })
|
||||
else onRowChange({ ...row, [column.key]: _value })
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user