From 84aa782bc9321aadb60a340e04da54c0de674f25 Mon Sep 17 00:00:00 2001 From: Danish Arora Date: Mon, 28 Oct 2024 19:37:17 +0530 Subject: [PATCH] chore(buddybook): setup linter --- examples/buddybook/src/App.tsx | 2 +- examples/buddybook/src/components/ui/input.tsx | 3 +-- examples/buddybook/src/components/ui/textarea.tsx | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/buddybook/src/App.tsx b/examples/buddybook/src/App.tsx index f74a514..3361086 100644 --- a/examples/buddybook/src/App.tsx +++ b/examples/buddybook/src/App.tsx @@ -7,7 +7,7 @@ import { Button } from "@/components/ui/button" import { type LightNode } from "@waku/sdk" import { useWaku } from "@waku/react" import { Loader2 } from "lucide-react" -import { Routes, Route, Navigate, Link, useParams } from 'react-router-dom' +import { Routes, Route, Navigate, Link } from 'react-router-dom' import { BlockPayload, getMessagesFromStore, subscribeToFilter } from './lib/waku' import TelemetryOptIn from './components/TelemetryOptIn'; import TelemetryPage from './components/TelemetryPage'; diff --git a/examples/buddybook/src/components/ui/input.tsx b/examples/buddybook/src/components/ui/input.tsx index 5af26b2..af13834 100644 --- a/examples/buddybook/src/components/ui/input.tsx +++ b/examples/buddybook/src/components/ui/input.tsx @@ -2,8 +2,7 @@ import * as React from "react" import { cn } from "@/lib/utils" -export interface InputProps - extends React.InputHTMLAttributes {} +export type InputProps = React.InputHTMLAttributes const Input = React.forwardRef( ({ className, type, ...props }, ref) => { diff --git a/examples/buddybook/src/components/ui/textarea.tsx b/examples/buddybook/src/components/ui/textarea.tsx index d1258e4..51e4e41 100644 --- a/examples/buddybook/src/components/ui/textarea.tsx +++ b/examples/buddybook/src/components/ui/textarea.tsx @@ -2,8 +2,7 @@ import * as React from "react" import { cn } from "@/lib/utils" -export interface TextareaProps - extends React.TextareaHTMLAttributes {} +export type TextareaProps = React.TextareaHTMLAttributes const Textarea = React.forwardRef( ({ className, ...props }, ref) => {