Skip to content

Commit

Permalink
fix: tailwind css disabled prefix 사용
Browse files Browse the repository at this point in the history
  • Loading branch information
iOdiO89 committed Jul 1, 2024
1 parent 7ad79be commit 77f815c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pages/mypage/quit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ const QuitAccount: NextPage = () => {
<Button
text="탈퇴하기"
onClick={onClickQuitBtn}
style={`${
password.length === 0
? "bg-grey-300 text-grey-500"
: "bg-main-color text-white"
}`}
style="disabled:bg-grey-300 disabled:text-grey-500 bg-main-color text-white"
disabled={password.length === 0}
/>
</FlexBox>
Expand Down

0 comments on commit 77f815c

Please sign in to comment.