Skip to content

Commit

Permalink
cleaning up lint errros
Browse files Browse the repository at this point in the history
  • Loading branch information
crazzywizard committed Apr 12, 2024
1 parent 4ae7526 commit fdf748f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
17 changes: 2 additions & 15 deletions components/LeaderboardPage/LeaderboardPage.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
import {
FrameContainer,
FrameImage,
FrameButton,
getFrameMessage,
useFramesReducer,
getPreviousFrame,
validateActionSignature,
FrameInput,
} from "frames.js/next/server"
import { FrameMetadata } from "@coinbase/onchainkit"
import Layout from "../Layout"
import TimeFilter from "./TimeFilter"
Expand All @@ -18,9 +8,6 @@ import Earnings from "../Earnings"
const LeaderboardPage = () => {
const { zoraFees, creatorFees } = useLeaderboardProvider()

const handleClick = () => {
console.log("SWEETS CLICKED")
}
return (
<Layout type="contained">
<div className="w-full pt-24 mx-auto">
Expand All @@ -34,7 +21,7 @@ const LeaderboardPage = () => {
>
Leaderboard
</div>
<div className="w-full flex justify-center pb-4">
<div className="flex justify-center w-full pb-4">
<div
className="font-hanson
text-center
Expand All @@ -46,7 +33,7 @@ const LeaderboardPage = () => {
Currently Tracking: <br /> Zora Protocol Rewards
</div>
</div>
<div className="flex flex-col md:flex-row justify-around items-center">
<div className="flex flex-col items-center justify-around md:flex-row">
<Earnings label="Creators are earning" fees={creatorFees} />
<TimeFilter />
<Earnings label="Zora is earning" fees={zoraFees} />
Expand Down
1 change: 1 addition & 0 deletions pages/api/frames/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const getFrame = (req) => {
}

export default async function handler(req: NextRequest): Promise<Response> {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { data } = await getFrame(req)
return new NextResponse(
// Step 3. Use getFrameHtmlResponse to create a Frame response
Expand Down

0 comments on commit fdf748f

Please sign in to comment.