Update packages/bruno-app/src/components/RequestPane/RawFileParams/index.js

Co-authored-by: Sanjai Kumar <84461672+sanjai0py@users.noreply.github.com>
This commit is contained in:
zachary-berdell-elliott 2024-08-26 06:58:01 -06:00 committed by GitHub
parent 1415e76c07
commit a425c27b5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,6 @@ import { updateRequestBody } from 'providers/ReduxStore/slices/collections/index
const RawFileParams = ({ item, collection }) => {
const dispatch = useDispatch();
const { storedTheme } = useTheme();
const fileName = item.draft ? get(item, 'draft.request.body.rawFile') : get(item, 'request.body.rawFile') || [];
const handleFileChange = (e) => {