File size: 122 Bytes
f5071ca
 
 
1
2
3
4
export const getUserProfileData = (profileData, userId) => {
   return profileData.find((data) => data.id === userId);
};