Убранно излишнее логгирование

This commit is contained in:
goodmice 2022-07-19 15:14:25 +05:00
parent 5f0d4f98dc
commit cbfebaf923
2 changed files with 0 additions and 3 deletions

View File

@ -34,8 +34,6 @@ export const UploadForm = memo<UploadFormProps>(({ url, disabled, style, formDat
const accept = useMemo(() => Array.isArray(mimeTypes) ? mimeTypes.join(',') : mimeTypes, [mimeTypes]) const accept = useMemo(() => Array.isArray(mimeTypes) ? mimeTypes.join(',') : mimeTypes, [mimeTypes])
useEffect(() => console.log(fileList), [fileList])
const handleFileSend = useCallback(async () => { const handleFileSend = useCallback(async () => {
onUploadStart?.() onUploadStart?.()
try { try {

View File

@ -16,7 +16,6 @@ export const renderArea = <DataType extends Record<string, unknown>>(
if ('y0' in chart) { if ('y0' in chart) {
area = area.y0(yAxis(chart.y0 ?? 0)) area = area.y0(yAxis(chart.y0 ?? 0))
.y1(d => yAxis(chart.y(d))) .y1(d => yAxis(chart.y(d)))
console.log('setting const y')
} else { } else {
area = area.y(d => yAxis(chart.y(d))) area = area.y(d => yAxis(chart.y(d)))
} }