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

모달 닫힐 때 ui 깨지는 버그 #397

Merged
merged 3 commits into from
Nov 29, 2023
Merged
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
13 changes: 6 additions & 7 deletions src/pages/CrewsRankingPage/CrewsRankingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,9 @@ export const CrewsRankingPage = () => {
/>
))}
</PageContent>

<Modal header={20} isOpen={isOpen} close={() => setIsOpen(false)}>
<Modal.Content>
{selectedCrewRank && (
{selectedCrewRank && (
<Modal header={40} isOpen={isOpen} close={() => setIsOpen(false)}>
<Modal.Content>
<RankingModalContent
profileImageUrl={selectedCrewRank.profileImageUrl}
name={selectedCrewRank.name}
Expand All @@ -90,9 +89,9 @@ export const CrewsRankingPage = () => {
maxMemberCount={selectedCrewRank.maxMemberCount}
onDetailButtonClick={handleDetailButtonClick}
/>
)}
</Modal.Content>
</Modal>
</Modal.Content>
</Modal>
)}
</PageWrapper>
);
};
Loading