Skip to content

Commit

Permalink
fix: adjust move table button
Browse files Browse the repository at this point in the history
  • Loading branch information
Wulabalabo committed Jan 3, 2024
1 parent debd234 commit c203925
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/ticks/[name]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ export default function Home({ params }: { params: { name: string } }) {
<Button
className="h-16 w-48 bg-sky-700 text-2xl font-bold"
onClick={() => mint(name, mintFee)}
disabled={name == "move"}
>
Mint
</Button>
Expand Down
3 changes: 1 addition & 2 deletions components/tick-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ export default function TickTable(props: TickTableProps) {
<Button
type="button"
className="w-24 bg-sky-700"
disabled={tick.tick.toLowerCase() == 'move'}
>
Go to Mint
{tick.tick.toLowerCase() == 'move' ? 'Finish' : 'Go to Mint'}
</Button>
</a>
</td>
Expand Down

0 comments on commit c203925

Please sign in to comment.