Skip to content

Commit

Permalink
Remove unused variables and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kpyszkowski committed Nov 4, 2024
1 parent de3a485 commit 30d44b4
Showing 1 changed file with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
import React from "react"
import {
HStack,
Card,
CardBody,
Box,
Flex,
Icon,
Tooltip,
} from "@chakra-ui/react"
import { HStack, Card, CardBody, Box, Flex, Icon } from "@chakra-ui/react"
import {
Pagination,
PaginationButton,
Expand All @@ -18,7 +10,6 @@ import {
import { TextSm } from "#/components/shared/Typography"
import { CurrencyBalance } from "#/components/shared/CurrencyBalance"
import {
bigIntToUserAmount,
displayBlockTimestamp,
getActivityTimestamp,
getCurrencyByType,

Check failure on line 15 in dapp/src/pages/DashboardPage/TransactionHistory/TransactionTable.tsx

View workflow job for this annotation

GitHub Actions / dapp-format

'getCurrencyByType' is defined but never used. Allowed unused vars must match /^_+$/u
Expand All @@ -35,8 +26,6 @@ const BLOCK_EXPLORER_CELL_MIN_WIDTH = 16
export default function TransactionTable() {
const activities = useActivities()

const currency = getCurrencyByType("bitcoin")

return (
<Pagination data={activities} pageSize={10} spacing={6}>
<PaginationPage direction="column" spacing={2} pageSpacing={6}>
Expand Down

0 comments on commit 30d44b4

Please sign in to comment.