Skip to content

Commit

Permalink
Remove unneeded type cast in SuspenseCache
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Dec 9, 2023
1 parent a1b834a commit 2bb69e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react/cache/SuspenseCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ export class SuspenseCache {
});
}

return ref.current as InternalQueryReference<TData>;
return ref.current;
}
}

0 comments on commit 2bb69e4

Please sign in to comment.