From 341c443e6ccc070ec8b050ff26e923df7a079e1b Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Wed, 21 Aug 2024 13:09:32 -0700 Subject: [PATCH] added type for initialFrame --- apps/web/pages/api/basenames/frame/frameResponses.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/pages/api/basenames/frame/frameResponses.ts b/apps/web/pages/api/basenames/frame/frameResponses.ts index 2a5fef7f14..00cdf5e9eb 100644 --- a/apps/web/pages/api/basenames/frame/frameResponses.ts +++ b/apps/web/pages/api/basenames/frame/frameResponses.ts @@ -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',