Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
b-tarczynski committed Jun 18, 2024
1 parent 18cb7b6 commit e8607be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions packages/frontend/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -37,8 +37,6 @@ interface CustomProps {
cookie: string | undefined
}

App.getInitialProps = async (
context: AppContext,
): Promise<CustomProps> => {
App.getInitialProps = async (context: AppContext): Promise<CustomProps> => {
return { cookie: context.ctx.req?.headers.cookie }
}
6 changes: 3 additions & 3 deletions packages/frontend/src/pages/api/frames/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand All @@ -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: [
Expand All @@ -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: [
Expand Down

0 comments on commit e8607be

Please sign in to comment.