Skip to content

Commit

Permalink
Remove unused imports and functions
Browse files Browse the repository at this point in the history
  • Loading branch information
kiminkim724 committed Jan 14, 2025
1 parent 8f24681 commit d3ad7b4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions components/EditProfilePage/FollowingTab.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { collection, getDocs, query, where } from "firebase/firestore"
import { getFunctions, httpsCallable } from "firebase/functions"
import { getFunctions } from "firebase/functions"
import { useTranslation } from "next-i18next"
import { useCallback, useEffect, useMemo, useState } from "react"
import { useAuth } from "../auth"
Expand All @@ -11,11 +11,6 @@ import { FollowedItem } from "./FollowingTabComponents"
import { BillElement, UserElement } from "./FollowingTabComponents"
import { deleteItem } from "components/shared/FollowingQueries"

const functions = getFunctions()

const unfollowBillFunction = httpsCallable(functions, "unfollowBill")
const unfollowUserFunction = httpsCallable(functions, "unfollowUser")

export function FollowingTab({ className }: { className?: string }) {
const { user } = useAuth()
const uid = user?.uid
Expand Down

0 comments on commit d3ad7b4

Please sign in to comment.