Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bend-n committed May 21, 2024
1 parent 3f9bcec commit 82780db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/evm/contracts/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ function EvmContracts() {
// },
];
const result = get_evm_contracts();
let filter = useSearchParams().get("filter");
let [page, setPage] = useState(1);
let [theme] = useThemeState();
let data: Contract[];
Expand All @@ -96,7 +97,6 @@ function EvmContracts() {
case "ok":
data = result.data;
}
let filter = useSearchParams().get("filter");
if (filter) {
data = data.filter((x) => x.type == filter);
}
Expand Down

0 comments on commit 82780db

Please sign in to comment.