forked from ddrilling/asb_cloud_front
Убранно излишнее логгирование
This commit is contained in:
parent
5f0d4f98dc
commit
cbfebaf923
@ -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 {
|
||||||
|
@ -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)))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user