chore(buddybook): setup linter

This commit is contained in:
Danish Arora 2024-10-28 19:37:17 +05:30
parent 7351bbbc6c
commit 84aa782bc9
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E
3 changed files with 3 additions and 5 deletions

View File

@ -7,7 +7,7 @@ import { Button } from "@/components/ui/button"
import { type LightNode } from "@waku/sdk" import { type LightNode } from "@waku/sdk"
import { useWaku } from "@waku/react" import { useWaku } from "@waku/react"
import { Loader2 } from "lucide-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 { BlockPayload, getMessagesFromStore, subscribeToFilter } from './lib/waku'
import TelemetryOptIn from './components/TelemetryOptIn'; import TelemetryOptIn from './components/TelemetryOptIn';
import TelemetryPage from './components/TelemetryPage'; import TelemetryPage from './components/TelemetryPage';

View File

@ -2,8 +2,7 @@ import * as React from "react"
import { cn } from "@/lib/utils" import { cn } from "@/lib/utils"
export interface InputProps export type InputProps = React.InputHTMLAttributes<HTMLInputElement>
extends React.InputHTMLAttributes<HTMLInputElement> {}
const Input = React.forwardRef<HTMLInputElement, InputProps>( const Input = React.forwardRef<HTMLInputElement, InputProps>(
({ className, type, ...props }, ref) => { ({ className, type, ...props }, ref) => {

View File

@ -2,8 +2,7 @@ import * as React from "react"
import { cn } from "@/lib/utils" import { cn } from "@/lib/utils"
export interface TextareaProps export type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>
extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}
const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>( const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
({ className, ...props }, ref) => { ({ className, ...props }, ref) => {