Migrate react-query to v5
This commit is contained in:
21 files changed
+66
-86
No files matched your search
@@ -38,7 +38,7 @@ export const LatestMediaSection = ({ latestMediaLib }) => {
|
||||
enabled: !!user.data,
|
||||
networkMode: "always",
|
||||
});
|
||||
if (data.isLoading) {
|
||||
if (data.isPending) {
|
||||
return <CardsSkeleton />;
|
||||
}
|
||||
if (data.isSuccess && data.data.length >= 1) {
|
||||
|
||||
Reference in new issue
Block a user