diff --git a/src/components/ProfilePicNextToEachOther/index.js b/src/components/ProfilePicNextToEachOther/index.js
index faccc38..7f65b01 100644
--- a/src/components/ProfilePicNextToEachOther/index.js
+++ b/src/components/ProfilePicNextToEachOther/index.js
@@ -6,10 +6,10 @@ import profilePic3 from "./images/profilePic3.svg";
import profilePic4 from "./images/profilePic4.svg";
import profilePic5 from "./images/profilePic5.svg";
-const ProfilePicNextToEachOther = ({ users }) => {
+const ProfilePicNextToEachOther = ({ users,num }) => {
return (
- {users.slice(0, 8).map((user, i) => (
+ {users.slice(0, num).map((user, i) => (
{
export default ProfilePicNextToEachOther;
ProfilePicNextToEachOther.defaultProps = {
+ num: 8,
users: [
{
picture: profilePic1,