Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
imhson committed Mar 22, 2024
1 parent 7e66df1 commit eb705d3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/(private)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -519,11 +519,14 @@ export default function Home() {
if (gems.get(color + star) != 0) {
return (
<div
title={
activeSlot == 0 && star == '7'
? '7-Star is highest level. You can not select it for main slot'
: ''
}
key={color + star}
className={`flex flex-col items-center gap-[6px] h-fit ${
activeSlot == 0 && star == '7'
? 'opacity-50 pointer-events-none cursor-not-allowed'
: 'cursor-pointer'
activeSlot == 0 && star == '7' ? 'opacity-50 cursor-not-allowed' : 'cursor-pointer'
}`}
onClick={() =>
activeSlot == 0 && star == '7' ? undefined : addGemHandler(color + star)
Expand Down

0 comments on commit eb705d3

Please sign in to comment.