Skip to content

Commit

Permalink
KL-176/feat: link to FeedPage when clicked MainBanner
Browse files Browse the repository at this point in the history
  • Loading branch information
seoulyego committed Oct 17, 2024
1 parent 7d68396 commit 9d71fa0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/FeedPage/components/Thumbnail/Thumbnail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ function Thumbnail() {
{
staleTime: 1000 * 60 * 60 * 24,
gcTime: 1000 * 60 * 60 * 24,
select: (data) => data.data.wallpaper,
select: (data) => data.data,
enabled: !!selectedCountryId,
}
)

console.log('wallpaper', wallpaper)

return (
<ThumbnailArea $url={wallpaper || defaultWallpaper}>
<ThumbnailArea $url={wallpaper.wallpaper || defaultWallpaper}>
<div>
<div className="title">기념품 둘러보기</div>
<div className="description">기념품을 둘러보세요.</div>
Expand Down

0 comments on commit 9d71fa0

Please sign in to comment.