Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 0 additions & 56 deletions src/Bookmark.module.css

This file was deleted.

100 changes: 0 additions & 100 deletions src/MyPage.module.css

This file was deleted.

3 changes: 2 additions & 1 deletion src/components/CreateProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useProfile } from '../contexts/ProfileContext';
import styles from '../styles/Profile.module.css';

const CreateProfile = () => {
const { profile } = useProfile();
const { profile, fetchProfile } = useProfile();

const [isSaving, setIsSaving] = useState(false);
// 마지막 확인 : 학번/학과/이력서 다 valid한 input으로 차있음
Expand Down Expand Up @@ -344,6 +344,7 @@ const CreateProfile = () => {
links: cleanedLinks,
});
setCanSave(true);
await fetchProfile();
navigate('/mypage');
} catch (e) {
console.error(e);
Expand Down