Skip to content

Commit

Permalink
rename resyncExternalTasks to resyncExternalTask
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettCleary committed Aug 14, 2024
1 parent cd9d6cb commit 7a0c917
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperplay/quests-ui",
"version": "0.0.3",
"version": "0.0.4",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/components/QuestDetailsWrapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface QuestDetailsWrapperProps {
tokenId?: number
) => Promise<RewardClaimSignature>
confirmRewardClaim: (params: ConfirmClaimParams) => Promise<void>
resyncExternalTasks: (rewardId: string) => Promise<void>
resyncExternalTask: (rewardId: string) => Promise<void>
getExternalTaskCredits: (rewardId: string) => Promise<string>
syncPlaySession: (appName: string, runner: Runner) => Promise<void>
logInfo: (message: string) => void
Expand All @@ -77,7 +77,7 @@ export function QuestDetailsWrapper({
completeExternalTask,
getQuestRewardSignature,
confirmRewardClaim,
resyncExternalTasks,
resyncExternalTask,
getExternalTaskCredits,
syncPlaySession,
logInfo,
Expand Down Expand Up @@ -126,7 +126,7 @@ export function QuestDetailsWrapper({
mutationFn: async (rewards: Reward[]) => {
const result = await resyncExternalTasksHelper(
rewards,
resyncExternalTasks
resyncExternalTask
)
const queryKey = `useGetG7UserCredits`
queryClient.invalidateQueries({ queryKey: [queryKey] })
Expand Down

0 comments on commit 7a0c917

Please sign in to comment.