Skip to content

Commit

Permalink
updated lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobHomanics committed Apr 5, 2024
1 parent a191ded commit 1174044
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,9 @@ jobs:
- name: Run tests
run: yarn test -vvv

- name: Run snapshot
run: yarn snapshot

- name: Run nextjs lint
run: yarn next:lint --max-warnings=0

- name: Check typings on nextjs
run: yarn next:check-types

#- name: Run hardhat lint
# run: yarn hardhat:lint --max-warnings=0

25 changes: 13 additions & 12 deletions packages/nextjs/app/rep-tokens-demo/_components/RepTokensDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,9 @@ export function RepTokensDemo() {
value={`Max Mint Amount Per Tx: \n${token?.properties?.maxMintAmountPerTx?.toString()}`}
/>
</div>
<div>
<p className="text-center text-4xl">Individual Components 2</p>
<BalanceCard token={token} />
<ImageCard token={token} />
<NameCard token={token} />
<DescriptionCard token={token} />
<AddressCard token={token} />
<SoulboundCard token={token} />
<RedeemableCard token={token} />
<MaxMintAmountPerTxCard token={token} />
</div>

<div>
<p className="text-center text-4xl">Individual Components 3</p>
<p className="text-center text-4xl">Individual Components 2</p>
<BalanceCard balance={token?.balance} />
<ImageCard src={token?.image} />
<NameCard name={token?.name} />
Expand All @@ -126,6 +115,18 @@ export function RepTokensDemo() {
<RedeemableCard isRedeemable={token?.properties?.isRedeemable} />
<MaxMintAmountPerTxCard maxMintAmountPerTx={token?.properties?.maxMintAmountPerTx} />
</div>

<div>
<p className="text-center text-4xl">Individual Components 3</p>
<BalanceCard token={token} />
<ImageCard token={token} />
<NameCard token={token} />
<DescriptionCard token={token} />
<AddressCard token={token} />
<SoulboundCard token={token} />
<RedeemableCard token={token} />
<MaxMintAmountPerTxCard token={token} />
</div>
</div>

<div className="flex">
Expand Down

0 comments on commit 1174044

Please sign in to comment.