Skip to content

Commit

Permalink
충돌 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimyu94 committed Jun 17, 2024
1 parent dafa16c commit 98acada
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/pages/AddItem/FileInput.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
<<<<<<< HEAD
import { useEffect, useRef, useState } from 'react';
import ImageAdd from '../../assets/images/ic_plus.png';
=======
import { useEffect, useRef, useState } from "react";
import ImageAdd from "../../assets/images/ic_plus.png";
>>>>>>> 80e16dd133dfcef5843560c738d0543da835110b

function FileInput({ name, value, onChange }) {
const [preview, setPreview] = useState();
Expand All @@ -19,11 +14,7 @@ function FileInput({ name, value, onChange }) {
const inputNode = inputRef.current;
if (!inputNode) return;

<<<<<<< HEAD
inputNode.value = '';
=======
inputNode.value = "";
>>>>>>> 80e16dd133dfcef5843560c738d0543da835110b
onChange(name, null);
};

Expand Down

0 comments on commit 98acada

Please sign in to comment.