로딩중...
;
- }
-
- return (
-
-
초대 코드: {inviteData.invitationCode}
-
- 초대 URL:{' '}
-
- {inviteData.invitationUrl}
-
-
-
만료 시간: {inviteData.expirationTime}
-
-
{inviteData.qrCodeImage}
-
- );
-};
-
-export default InviteTeamComponent;
diff --git a/src/components/inviteTeam/InviteTeamModal.tsx b/src/components/inviteTeam/InviteTeamModal.tsx
index 796fb74..ad48fa7 100644
--- a/src/components/inviteTeam/InviteTeamModal.tsx
+++ b/src/components/inviteTeam/InviteTeamModal.tsx
@@ -19,7 +19,7 @@ import {
} from '@chakra-ui/react';
import QRCode from 'qrcode.react';
import { GetInviteTeamResponse, InviteTeamData } from '@/api/@types/InviteTeam';
-import getInviteTeam from '@/api/retrospectivesApi/getInviteTeam';
+import getInviteTeam from '@/api/inviteTeamApi/getInviteTeam';
import * as S from '@/styles/inviteTeam/InviteTeamModal.style';
interface InviteTeamModalProps {
diff --git a/src/components/survey/AgeInput.tsx b/src/components/survey/AgeInput.tsx
index 5f9d47c..2a182b8 100644
--- a/src/components/survey/AgeInput.tsx
+++ b/src/components/survey/AgeInput.tsx
@@ -1,4 +1,4 @@
-import React from 'react';
+import React, { useState } from 'react';
import {
NumberInput,
NumberInputField,
@@ -9,7 +9,31 @@ import {
} from '@chakra-ui/react';
import * as S from '@/styles/survey/AgeInput.style';
-const AgeInput: React.FC = () => {
+interface Age {
+ onAgeChange: (age: string) => void;
+}
+
+const AgeInput: React.FC