Skip to content

Commit

Permalink
pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankreedX committed Aug 13, 2024
1 parent 310b3f9 commit 92af713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/segments/(team)/chooseTeam.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { useQueryClient } from "@tanstack/react-query";
import { router } from "expo-router";
import { doc, setDoc } from "firebase/firestore";
import {
onIdTokenChanged,
sendEmailVerification,
signOut as signoutFireBase,
} from "firebase/auth";
import { doc, setDoc } from "firebase/firestore";
import { useCallback, useEffect, useState } from "react";
import { RefreshControl, ScrollView, Text, View } from "react-native";
import { Button } from "react-native-paper";
Expand Down Expand Up @@ -79,7 +79,7 @@ function ChooseTeam() {
const onRefresh = useCallback(async () => {
setRefreshing(true);
await auth.currentUser.reload();
await invalidateMultipleKeys(queryClient, invalidateKeys)
await invalidateMultipleKeys(queryClient, invalidateKeys);
setRefreshing(false);
}, []);

Check warning on line 84 in app/segments/(team)/chooseTeam.js

View workflow job for this annotation

GitHub Actions / prettier-check

React Hook useCallback has missing dependencies: 'invalidateKeys' and 'queryClient'. Either include them or remove the dependency array

Expand Down

0 comments on commit 92af713

Please sign in to comment.