소스 검색

Finished demo bugs

feature/587
Djordje Mitrovic 3 년 전
부모
커밋
d68aea7e2c
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      src/components/ItemDetails/ItemDetails.js
  2. 1
    1
      src/layouts/ItemDetailsLayout/ItemDetailsLayout.styled.js

+ 1
- 1
src/components/ItemDetails/ItemDetails.js 파일 보기

@@ -12,7 +12,7 @@ const ItemDetails = () => {
const offer = useSelector(selectOffer);
const userId = useSelector(selectUserId);
let isMyProfile = useMemo(() => {
if (offer?.offer?.userId?.toString() === userId.toString()) {
if (offer?.offer?.userId?.toString() === userId?.toString()) {
return true;
}
return false;

+ 1
- 1
src/layouts/ItemDetailsLayout/ItemDetailsLayout.styled.js 파일 보기

@@ -21,7 +21,7 @@ export const ItemDetailsLayoutContainer = styled(Container)`
`;

export const RightCard = styled(Grid)`
margin-top: 48px;
margin-top: 34px;
border-top-right-radius: 4px;
width: 100%;
/* @media (max-width: 800px) {

Loading…
취소
저장