Open jupiter price information in new tab

This commit is contained in:
Shreerang Kale 2025-07-22 18:26:53 +05:30
parent 7fcde7b30d
commit 8106346df9
3 changed files with 2 additions and 3 deletions

View File

@ -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>

View File

@ -86,7 +86,6 @@ const getAccount = async (accountPrivateKey: string): Promise<Account> => {
return account;
}
const sendTokensToAccount = async (
senderPrivateKey: string,
receiverAddress: string,

View File

@ -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) {