Compare commits

..

2 Commits

2 changed files with 8 additions and 0 deletions

View File

@ -364,6 +364,7 @@ const CompletionContent: React.FC<CompletionContentProps> = ({
const handleCloseSocialConnect = () => {
setShowSocialModal(false);
onVideoComplete?.();
};
const handleRetry = () => {

View File

@ -130,6 +130,13 @@ const GenerationFlow: React.FC<GenerationFlowProps> = ({
}
}, []);
// 사운드 스튜디오, 영상 완성 진입 시 크레딧 갱신
useEffect(() => {
if (wizardStep === 2 || wizardStep === 3) {
refreshCredits();
}
}, [wizardStep]);
// 로그인 직후 사용자 정보 + 크레딧 조회
useEffect(() => {
const fetchUserInfo = async () => {