Skip to content

Commit

Permalink
Fixing lint errors in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed May 23, 2024
1 parent c44d261 commit 8670159
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/next/src/app/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { Box, Button, Image, Text, useMediaQuery, useTheme } from '@0xsequence/design-system'
import React from 'react'

interface BottomPageLink {
label: string
Expand Down
4 changes: 2 additions & 2 deletions examples/react/src/components/Homepage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import { allNetworks } from '@0xsequence/network'
import { ethers } from 'ethers'
import { AnimatePresence } from 'framer-motion'
import React, { useEffect } from 'react'
import { formatUnits, parseUnits } from 'viem'
import {
useDisconnect,
useAccount,
Expand All @@ -44,7 +45,6 @@ import {
useWriteContract,
useConnections
} from 'wagmi'
import { formatUnits, parseUnits } from 'viem'

import { ConnectionMode } from '../config'
import { messageToSign } from '../constants'
Expand Down Expand Up @@ -97,7 +97,7 @@ export const Homepage = () => {
localStorage.getItem('confirmationEnabled') === 'true'
)

const [pendingFeeOptionConfirmation, confirmPendingFeeOption, rejectPendingFeeOption] = useWaasFeeOptions()
const [pendingFeeOptionConfirmation, confirmPendingFeeOption] = useWaasFeeOptions()

const [selectedFeeOptionTokenName, setSelectedFeeOptionTokenName] = React.useState<string | undefined>()

Expand Down
2 changes: 0 additions & 2 deletions examples/react/src/utils/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { CheckoutSettings } from '@0xsequence/kit-checkout'
import { Address } from 'viem'

import { ConnectionMode } from '../config'

export const truncateAtMiddle = (text: string, truncateAt: number) => {
let finalText = text

Expand Down

0 comments on commit 8670159

Please sign in to comment.