diff --git a/src/components/bottomsheet/JoinRegularMemberBottomSheet.tsx b/src/components/bottomsheet/JoinRegularMemberBottomSheet.tsx index 1a2c0e4..5bb2c94 100644 --- a/src/components/bottomsheet/JoinRegularMemberBottomSheet.tsx +++ b/src/components/bottomsheet/JoinRegularMemberBottomSheet.tsx @@ -6,7 +6,10 @@ import Button from 'wowds-ui/Button'; import styled from '@emotion/styled'; import { Link } from 'react-router-dom'; import RoutePath from '@/routes/routePath'; -import { CurrentRecruitmentType } from '@/apis/member/memberType'; +import { + CurrentMembershipType, + CurrentRecruitmentType +} from '@/apis/member/memberType'; import { convertRecruitmentName, convertRecruitmentPeriod @@ -14,9 +17,11 @@ import { import useJoinRegularMember from '@/hooks/mutation/useJoinRegularMember'; const JoinRegularMemberBottomSheet = ({ - currentRecruitment + currentRecruitment, + currentMembership }: { currentRecruitment: CurrentRecruitmentType; + currentMembership: CurrentMembershipType; }) => { const { joinRegularMember } = useJoinRegularMember(); const bottomSheetTitle = convertRecruitmentName( @@ -81,11 +86,11 @@ const JoinRegularMemberBottomSheet = ({ text={{recruitmentPeriod}} /> diff --git a/src/pages/Dashboard.tsx b/src/pages/Dashboard.tsx index c7cf352..82e9b75 100644 --- a/src/pages/Dashboard.tsx +++ b/src/pages/Dashboard.tsx @@ -60,6 +60,7 @@ export const Dashboard = () => { {isOpen && ( )}