diff --git a/packages/frontend/src/pages/_app.tsx b/packages/frontend/src/pages/_app.tsx index 551098df..c0319e67 100644 --- a/packages/frontend/src/pages/_app.tsx +++ b/packages/frontend/src/pages/_app.tsx @@ -6,8 +6,8 @@ import { ReactNode } from 'react' import { TopBar } from '@/components/topBar/TopBar' import { Footer } from '@/components/footer/Footer' import { Toaster } from 'sonner' -import { cookieToInitialState } from "wagmi"; -import { wagmiConfig } from "@/config/wagmiConfig"; +import { cookieToInitialState } from 'wagmi' +import { wagmiConfig } from '@/config/wagmiConfig' export default function App({ Component, pageProps, cookie }: AppProps & CustomProps) { const initialState = cookieToInitialState(wagmiConfig, cookie) @@ -37,8 +37,6 @@ interface CustomProps { cookie: string | undefined } -App.getInitialProps = async ( - context: AppContext, -): Promise => { +App.getInitialProps = async (context: AppContext): Promise => { return { cookie: context.ctx.req?.headers.cookie } } diff --git a/packages/frontend/src/pages/api/frames/index.tsx b/packages/frontend/src/pages/api/frames/index.tsx index 7e1de265..d193e19c 100644 --- a/packages/frontend/src/pages/api/frames/index.tsx +++ b/packages/frontend/src/pages/api/frames/index.tsx @@ -14,7 +14,7 @@ const handleRequest = frames(async (req) => { image: `/images`, imageOptions: { headers: { - "Cache-Control": "public, max-age=0", + 'Cache-Control': 'public, max-age=0', }, }, buttons: [ @@ -34,7 +34,7 @@ const handleRequest = frames(async (req) => { image: `/images`, imageOptions: { headers: { - "Cache-Control": "public, max-age=0", + 'Cache-Control': 'public, max-age=0', }, }, buttons: [ @@ -52,7 +52,7 @@ const handleRequest = frames(async (req) => { image: `/images`, imageOptions: { headers: { - "Cache-Control": "public, max-age=0", + 'Cache-Control': 'public, max-age=0', }, }, buttons: [