Skip to content

Commit

Permalink
Merge pull request ethereum#14526 from ethereum/l2EmptyState
Browse files Browse the repository at this point in the history
fix empty state labels
  • Loading branch information
corwintines authored Dec 18, 2024
2 parents 7a511fe + 636a727 commit 3b136c0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/components/Layer2NetworksTable/NetworksNoResults.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import { useTranslation } from "next-i18next"

import { trackCustomEvent } from "@/lib/utils/matomo"

import { Button } from "../ui/buttons/Button"

const FindWalletsNoResults = ({ resetFilters }) => {
const { t } = useTranslation("page-wallets-find-wallet")

// Track empty state
trackCustomEvent({
eventCategory: "Wallet_empty_state",
Expand All @@ -26,14 +22,12 @@ const FindWalletsNoResults = ({ resetFilters }) => {
return (
<div className="m-24 border-2 border-dashed border-body-light">
<div className="p-12">
<h3 className="mb-6 text-3xl font-normal">
{t("page-find-wallet-empty-results-title")}
</h3>
<h3 className="mb-6 text-3xl font-normal">No results</h3>
<p>
There are no networks matching your criteria, try adding some filters
</p>
<Button variant="ghost" onClick={handleClick}>
<p>{t("page-find-wallet-reset-filters")}</p>
Reset filters
</Button>
</div>
</div>
Expand Down

0 comments on commit 3b136c0

Please sign in to comment.