File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ function InputPanel() {
99 const [ prevInputType , setPrevInputType ] = useState ( inputType ) ;
1010
1111 const changeToJSONInput = useCallback ( ( ) => setInputType ( INPUT_TYPES . json ) , [ setInputType ] ) ;
12- const changeToCSVInput = useCallback ( ( ) => setInputType ( INPUT_TYPES . csv ) , [ setInputType ] ) ;
1312 const changeToXMLInput = useCallback ( ( ) => setInputType ( INPUT_TYPES . xml ) , [ setInputType ] ) ;
1413
1514 useEffect ( ( ) => {
@@ -23,7 +22,6 @@ function InputPanel() {
2322 < div className = { styles . inputPanel } >
2423 < div className = { styles . panelHeader } >
2524 < button onClick = { changeToJSONInput } > JSON</ button >
26- < button onClick = { changeToCSVInput } > CSV</ button >
2725 < button onClick = { changeToXMLInput } > XML</ button >
2826 </ div >
2927 < div className = { styles . inputSourceName } > Source name: { INPUT_FILE_NAME_BY_TYPE [ inputType ] } </ div >
You can’t perform that action at this time.
0 commit comments