Skip to content

Commit

Permalink
Merge pull request #152 from secretkeylabs/imamahzafar/fix/navigation
Browse files Browse the repository at this point in the history
fix navigation and gateway for nft
  • Loading branch information
yknl committed Dec 19, 2022
2 parents 8cb8d19 + 6c61e92 commit 105f971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/screens/transactionStatus/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function TransactionStatus() {

const onCloseClick = () => {
if (browserTx) window.close();
else navigate('/');
else navigate(-3);
};

const onCopyClick = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/utils/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function getExplorerUrl(stxAddress: string): string {
}

export function getFetchableUrl(uri: string, protocol: string): string | undefined {
const publicIpfs = 'https://cf-ipfs.com/ipfs';
const publicIpfs = 'https://gamma.mypinata.cloud/ipfs';
if (protocol === 'http') return uri;
if (protocol === 'ipfs') {
const url = uri.split('//');
Expand Down

0 comments on commit 105f971

Please sign in to comment.