Open jupiter price information in new tab
This commit is contained in:
parent
7fcde7b30d
commit
8106346df9
@ -196,7 +196,7 @@ export default function PaymentModal({
|
||||
</div>
|
||||
</div>
|
||||
<p className="text-xs mt-1" style={{ color: 'var(--muted)' }}>
|
||||
Token information fetched from <a className='text-blue-400 underline' href={`https://jup.ag/tokens/${process.env.NEXT_PUBLIC_SOLANA_TOKEN_MINT_ADDRESS}`}>Jupiter</a>
|
||||
Token information fetched from <a className='text-blue-400 underline' target="_blank" rel="noopener noreferrer" href={`https://jup.ag/tokens/${process.env.NEXT_PUBLIC_SOLANA_TOKEN_MINT_ADDRESS}`}>Jupiter</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
@ -86,7 +86,6 @@ const getAccount = async (accountPrivateKey: string): Promise<Account> => {
|
||||
return account;
|
||||
}
|
||||
|
||||
|
||||
const sendTokensToAccount = async (
|
||||
senderPrivateKey: string,
|
||||
receiverAddress: string,
|
||||
|
@ -61,7 +61,7 @@ export const createApplicationDeploymentRequest = async (
|
||||
|
||||
export const resolvePricingRecordLrn = async (): Promise<PricingRecordAttributes> => {
|
||||
const registry = getRegistry();
|
||||
const result = await registry.resolveNames([PRICING_RECORD_LRN])
|
||||
const result = await registry.resolveNames([PRICING_RECORD_LRN]);
|
||||
const pricingRecordAttributes: PricingRecordAttributes = result[0].attributes;
|
||||
|
||||
if (pricingRecordAttributes.for !== VALID_PRICING_RECORD_FOR) {
|
||||
|
Loading…
Reference in New Issue
Block a user