Skip to content

Commit

Permalink
new tx submitted image
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-defi committed Aug 22, 2024
1 parent 1a239a0 commit fe34286
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion apps/web/pages/api/basenames/frame/frameResponses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { getFrameMetadata, getFrameHtmlResponse } from '@coinbase/onchainkit/fra
import { FrameMetadataResponse } from '@coinbase/onchainkit/frame/types';
import initialImage from 'apps/web/pages/api/basenames/frame/assets/initial-image.png';
import searchImage from 'apps/web/pages/api/basenames/frame/assets/search-image.png';
import txSubmittedImage from 'apps/web/pages/api/basenames/frame/assets/tx-submitted.png'
import { DOMAIN } from 'apps/web/pages/api/basenames/frame/constants';

export const initialFrame: FrameMetadataResponse = getFrameMetadata({
Expand Down Expand Up @@ -118,6 +119,6 @@ export const txSuccessFrame = (name: string) =>
},
],
image: {
src: `${DOMAIN}/images/basenames/contract-uri/feature-image.png`,
src: `${DOMAIN}/${txSubmittedImage}`,
},
});

0 comments on commit fe34286

Please sign in to comment.