Skip to content

Commit

Permalink
add: missing ! symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
berzanorg committed Nov 29, 2023
1 parent dbb86bd commit cfc0dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function Home() {
{orders.length > 0 ? (
<>
{orders.filter(order => publicKey?.equals(order.customer)).map((order) => <NFTCard key={order.pda.toString()} kind="userOrder" data={order} />)}
{orders.filter(order => !publicKey || publicKey.equals(order.customer)).map((order) => <NFTCard key={order.pda.toString()} kind="order" data={order} />)}
{orders.filter(order => !publicKey || !publicKey.equals(order.customer)).map((order) => <NFTCard key={order.pda.toString()} kind="order" data={order} />)}
</>
) : <p className="font-medium text-white/60">No NFTs to be pawned.</p>}
</div>
Expand Down

0 comments on commit cfc0dc4

Please sign in to comment.