mirror of
https://github.com/woodchen-ink/CoverView.git
synced 2025-07-19 14:31:58 +08:00
refactor: add unused variable comment in UnsplashSearch component
This commit is contained in:
parent
c362febc62
commit
a23afa6d25
@ -6,6 +6,7 @@ const UnsplashSearch = ({ largeImgPreview }) => {
|
|||||||
|
|
||||||
const [imageList, setImageList] = useState([]);
|
const [imageList, setImageList] = useState([]);
|
||||||
const [searchText, setSearchText] = useState('setup');
|
const [searchText, setSearchText] = useState('setup');
|
||||||
|
// eslint-disable-next-line no-unused-vars
|
||||||
const { unsplashImage, setUnsplashImage } = useContext(ImgContext);
|
const { unsplashImage, setUnsplashImage } = useContext(ImgContext);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user