react-code-dataset / dev.to-clone /src /helper /getUserProfileData.js
Devendra174's picture
Upload folder using huggingface_hub
f5071ca verified
raw
history blame contribute delete
122 Bytes
export const getUserProfileData = (profileData, userId) => {
return profileData.find((data) => data.id === userId);
};