Skip to content

Commit

Permalink
added type for initialFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-defi committed Aug 21, 2024
1 parent 03e01c8 commit 341c443
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/web/pages/api/basenames/frame/frameResponses.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { getFrameMetadata, getFrameHtmlResponse } from '@coinbase/onchainkit/frame';
import { FrameMetadataResponse } from '@coinbase/onchainkit/frame/types';

export const DOMAIN = `https://base-web-git-feat-basenames-frame-coinbase-vercel.vercel.app`;
// export const DOMAIN = `http://localhost:3000`;

export const initialFrame = getFrameMetadata({
export const initialFrame: FrameMetadataResponse = getFrameMetadata({
buttons: [
{
label: 'Begin',
Expand Down

0 comments on commit 341c443

Please sign in to comment.