Skip to content

Commit

Permalink
Merge branch 'armando/grwth-4132-add-frame-tags-to-collections-page' …
Browse files Browse the repository at this point in the history
…into dev
  • Loading branch information
r3lays committed Feb 22, 2024
2 parents 5022c4b + e93746f commit b330bf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pages/[chain]/asset/[assetId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ const IndexPage: NextPage<Props> = ({ assetId, ssr }) => {
<meta property="fc:frame:button:1:action" content="mint" />
<meta
property="fc:frame:button:1:target"
content={`${token?.token?.kind}:${token?.token?.chainId}:${token?.token?.contract}:${token?.token?.tokenId}`}
content={`eip155:${token?.token?.chainId}:${token?.token?.contract}:${token?.token?.tokenId}`}
/>
</>
}
Expand Down
6 changes: 1 addition & 5 deletions pages/[chain]/collection/[contract].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -387,15 +387,11 @@ const CollectionPage: NextPage<Props> = ({ id, ssr }) => {
property="eth:nft:media_url"
content={collection.banner || collection.image}
/>
<meta
property="eth:nft:chain"
content={client?.currentChain()?.name.toLowerCase()}
/>
<meta property="fc:frame:button:1" content="Mint" />
<meta property="fc:frame:button:1:action" content="mint" />
<meta
property="fc:frame:button:1:target"
content={`${collection?.contractKind?.toLowerCase()}:${
content={`eip155:${
collection?.chainId
}:${collection.primaryContract?.toLowerCase()}`}
/>
Expand Down

0 comments on commit b330bf2

Please sign in to comment.