fix: 4차 리뷰 — 중복 keyframes 제거, useEffect deps 수정
- index.css 중복 @keyframes toast-in 제거 (Toast.css에 정의) - DownloadSection useEffect deps [] → [loadInfo] Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,7 @@ export default function DownloadSection() {
|
|||||||
.catch(() => { setLoadError(true); setReady(true); });
|
.catch(() => { setLoadError(true); setReady(true); });
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
useEffect(() => { loadInfo(); }, []);
|
useEffect(() => { loadInfo(); }, [loadInfo]);
|
||||||
|
|
||||||
const handlePlay = async () => {
|
const handlePlay = async () => {
|
||||||
if (!user) {
|
if (!user) {
|
||||||
|
|||||||
@@ -31,14 +31,3 @@ a {
|
|||||||
a:hover {
|
a:hover {
|
||||||
opacity: 0.85;
|
opacity: 0.85;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes toast-in {
|
|
||||||
from {
|
|
||||||
opacity: 0;
|
|
||||||
transform: translateX(40px);
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
opacity: 1;
|
|
||||||
transform: translateX(0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user