Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hzrd149 committed Dec 4, 2023
1 parent 22c10b2 commit a0e814b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/badges/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { useCallback } from "react";
import { Button, Flex, Heading, Image, Link, Spacer } from "@chakra-ui/react";
import { Link as RouterLink } from "react-router-dom";
import { Kind } from "nostr-tools";
Expand All @@ -14,13 +15,13 @@ import { useTimelineCurserIntersectionCallback } from "../../hooks/use-timeline-
import BadgeAwardCard from "./components/badge-award-card";
import { ErrorBoundary } from "../../components/error-boundary";
import useClientSideMuteFilter from "../../hooks/use-client-side-mute-filter";
import { useCallback } from "react";
import { NostrEvent } from "../../types/nostr-event";

function BadgesPage() {
const { filter, listId } = usePeopleListContext();
const muteFilter = useClientSideMuteFilter();
const eventFilter = useCallback(
(e) => {
(e: NostrEvent) => {
if (muteFilter(e)) return false;
return true;
},
Expand Down

0 comments on commit a0e814b

Please sign in to comment.