refactor: add unused variable comment in UnsplashSearch component

This commit is contained in:
wood chen 2024-10-21 13:01:39 +08:00
parent c362febc62
commit a23afa6d25

View File

@ -6,6 +6,7 @@ const UnsplashSearch = ({ largeImgPreview }) => {
const [imageList, setImageList] = useState([]);
const [searchText, setSearchText] = useState('setup');
// eslint-disable-next-line no-unused-vars
const { unsplashImage, setUnsplashImage } = useContext(ImgContext);