fix: AdminAlbumForm 페이지 전환 애니메이션 제거
- motion.div를 일반 div로 변경 - pageVariants 변수 제거 - 다른 Admin 페이지와 일관성 유지 - 페이지 전환 시 헤더 깜빡임 해결
This commit is contained in:
parent
97fb4b7964
commit
b37ca360a5
1 changed files with 2 additions and 15 deletions
|
|
@ -259,21 +259,8 @@ function AdminAlbumForm() {
|
||||||
|
|
||||||
const albumTypes = ['정규', '미니', '싱글'];
|
const albumTypes = ['정규', '미니', '싱글'];
|
||||||
|
|
||||||
const pageVariants = {
|
|
||||||
initial: { opacity: 0, y: 20 },
|
|
||||||
animate: { opacity: 1, y: 0 },
|
|
||||||
exit: { opacity: 0, y: -20 }
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<motion.div
|
<div className="min-h-screen bg-gray-50">
|
||||||
className="min-h-screen bg-gray-50"
|
|
||||||
initial="initial"
|
|
||||||
animate="animate"
|
|
||||||
exit="exit"
|
|
||||||
variants={pageVariants}
|
|
||||||
transition={{ duration: 0.3 }}
|
|
||||||
>
|
|
||||||
{/* Toast */}
|
{/* Toast */}
|
||||||
<Toast toast={toast} onClose={() => setToast(null)} />
|
<Toast toast={toast} onClose={() => setToast(null)} />
|
||||||
|
|
||||||
|
|
@ -673,7 +660,7 @@ function AdminAlbumForm() {
|
||||||
</form>
|
</form>
|
||||||
)}
|
)}
|
||||||
</main>
|
</main>
|
||||||
</motion.div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue