Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(admin): 지원자 수 카드 섹션 수정 페이지 및 업데이트 플로우 구현 #161

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

saseungmin
Copy link
Member

@saseungmin saseungmin commented Jul 30, 2024

What is this PR? 🔍

  • server action 적용
  • useFormStatus, useFormState 적용.

Changes 📝

Screenshot 📷

Copy link

vercel bot commented Jul 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dnd-academy-v2-admin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 30, 2024 8:40am
dnd-academy-v2-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 30, 2024 8:40am


function TotalCountStatusForm({ initialTotalCountStatus }: Props) {
const { pending } = useFormStatus();
const [state, formAction] = useFormState(totalCountStatusAction, null);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

react에서는 useFormState가 useActionState로 변경되었지만, next.js에서는 아직 미반영이라 에러가 남.

vercel/next.js#65673

@saseungmin saseungmin merged commit 293ff59 into develop Jul 30, 2024
7 checks passed
@saseungmin saseungmin deleted the feat/total-count-status branch July 30, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant