Просмотр исходного кода

Finished demo bugs

feature/587
Djordje Mitrovic 3 лет назад
Родитель
Сommit
d68aea7e2c

+ 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) {

Загрузка…
Отмена
Сохранить