diff --git a/src/assets/images/defaultProfileImg.svg b/src/assets/images/defaultProfileImg.svg new file mode 100644 index 0000000..0addb39 --- /dev/null +++ b/src/assets/images/defaultProfileImg.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/common/AcceptJoinContent.js b/src/components/common/AcceptJoinContent.js index ee1dd93..ce4a0c9 100644 --- a/src/components/common/AcceptJoinContent.js +++ b/src/components/common/AcceptJoinContent.js @@ -1,12 +1,13 @@ import React from "react"; import styled from "styled-components"; +import PropTypes from "prop-types"; -const AcceptJoinContent = () => { +const AcceptJoinContent = ({inviter}) => { return ( - 남궁희님의 초대를
수락하시겠습니까? + {inviter}님의 초대를
수락하시겠습니까?
@@ -39,3 +40,7 @@ const ContentP = styled.p` `; export default AcceptJoinContent; + +AcceptJoinContent.propTypes = { + inviter: PropTypes.string.isRequired, +}; diff --git a/src/components/common/FailJoinContent.js b/src/components/common/FailJoinContent.js index 0f1ed88..9e7fdef 100644 --- a/src/components/common/FailJoinContent.js +++ b/src/components/common/FailJoinContent.js @@ -6,7 +6,7 @@ const FailJoinContent = () => { - 존재하지 않는 코드입니다. + 이미 참여중이거나
존재하지 않는 여행입니다.
diff --git a/src/components/common/FriendList.js b/src/components/common/FriendList.js index 6012c51..13ebf99 100644 --- a/src/components/common/FriendList.js +++ b/src/components/common/FriendList.js @@ -1,20 +1,20 @@ import React from "react"; import styled from "styled-components"; import PropTypes from "prop-types"; -import Karina from "../../assets/images/karina.png"; +import defaultImageSrc from "../../assets/images/defaultProfileImg.svg"; -const FriendList = ({ friends }) => { +const FriendList = ({ usernames, userimgs }) => { return (
내 일행