9eb7509bc87b952d37a89c9451681b9f03c23fd3
한 번 문의를 보낸 뒤 닫았다가 다시 열면 폼 대신 "문의가 접수되었습니다" 화면이 그대로 떠서 두 번째 문의를 할 수 없었다. 모달을 닫아도 컴포넌트가 언마운트되지 않아 state 가 'done' 으로 남아 있던 탓이다. 열릴 때마다 입력값과 상태를 비운다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Run and deploy your AI Studio app
This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/d446f5f5-e089-404a-93ce-32a72f2f5108
Run Locally
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev
Languages
TypeScript
51.3%
JavaScript
22%
Astro
11.9%
Python
8.6%
CSS
3.1%
Other
3%