Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
muddlebee committed Nov 13, 2024
1 parent 4b0a479 commit 8c9c5b0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

import React, { useState, useEffect } from 'react'
import React, { useState } from 'react'
import { Button } from "@/components/ui/button"
import { Input } from "@/components/ui/input"
import {
Expand All @@ -13,7 +13,7 @@ import {

import { Settings, Clock, ArrowRight, DollarSign, Wallet } from 'lucide-react'

const TokenButton = ({ token, icon, price, onClick }) => (
const TokenButton = ({ token, icon, onClick }) => (
<button
onClick={onClick}
className="flex items-center gap-2 px-3 py-2 rounded-xl bg-slate-900/90 hover:bg-slate-800/90 transition-colors"
Expand All @@ -28,8 +28,6 @@ const TokenButton = ({ token, icon, price, onClick }) => (

export default function Component() {
const [walletConnected, setWalletConnected] = useState(false)
const [inputToken, setInputToken] = useState('DOT')
const [outputToken, setOutputToken] = useState('ETH')
const [inputAmount, setInputAmount] = useState('50')
const [outputAmount, setOutputAmount] = useState('100')
const [slippageTolerance, setSlippageTolerance] = useState(0.5)
Expand Down

0 comments on commit 8c9c5b0

Please sign in to comment.