refactor: add useQuery on profile_pictures endpoint (#3128)

📝 (API/index.ts): Remove getProfilePictures function as it is no longer used
🔧 (use-get-profile-pictures.ts): Remove unused code related to fetching profile pictures
🔧 (use-preload-images.tsx): Refactor usePreloadImages hook to accept profilePictures as an argument
🔧 (profilePictureChooserComponent/index.tsx): Update usage of usePreloadImages hook to match new signature
🔧 (ProfilePictureForm/index.tsx): Refactor to use useGetProfilePicturesQuery hook instead of handleGetProfilePictures function
This commit is contained in:
Cristhian Zanforlin Lousa 2024-08-01 13:12:40 -03:00 • committed by GitHub
commit 4fb96d6160
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

Diff content is not available