feat(insta): swap google_trends source for youtube_trending (Google Trends API 폐기 대응)

This commit is contained in:
2026-05-17 11:54:10 +09:00
parent b0eda14982
commit 06affd9614

View File

@@ -181,7 +181,7 @@ function ExternalTrendsPanel({ onCreateSlate }) {
const load = useCallback(async () => {
const [n, g] = await Promise.all([
getInstaTrends({ source: 'naver_popular', days: 2 }),
getInstaTrends({ source: 'google_trends', days: 2 }),
getInstaTrends({ source: 'youtube_trending', days: 2 }),
]);
setNaver(n.items || []);
setGoogle(g.items || []);
@@ -254,7 +254,7 @@ function ExternalTrendsPanel({ onCreateSlate }) {
))}
</div>
<div className="ic-trends__col">
<h4>🌐 Google Trends</h4>
<h4>📺 YouTube 인기</h4>
{google.length === 0 && <p className="ic-empty">없음</p>}
{google.map(renderRow)}
</div>