diff --git a/src/components/BatchTx/BatchCsv.tsx b/src/components/BatchTx/BatchCsv.tsx index c42afb6..15b1851 100644 --- a/src/components/BatchTx/BatchCsv.tsx +++ b/src/components/BatchTx/BatchCsv.tsx @@ -3,11 +3,13 @@ import { Input, Typography } from 'antd'; import styled from 'styled-components'; import { useBatchParser } from './useBatchParser'; +import { useBatchConfig } from './useBatchConfig'; const { TextArea } = Input; function BatchCsv() { const { rawInput, setRawInput } = useBatchParser(); + const { selectedDelimiter } = useBatchConfig(); const handleChange = useCallback( (e) => { @@ -18,7 +20,7 @@ function BatchCsv() { return ( - Paste CSV data + Paste {selectedDelimiter?.fileType || ''} data