Skip to content

Commit

Permalink
Merge pull request #934 from ita-social-projects/fix-button-on-street…
Browse files Browse the repository at this point in the history
…code

made the whole 'Оживити картинку' button clickable
  • Loading branch information
MementoMorj authored Oct 30, 2023
2 parents 3d2f5b9 + 9b32382 commit c38dc45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,9 @@ const StreetcodeCard = ({ streetcode, setActiveTagId, setActiveBlock }: Props) =
<Button
className="animateFigureBtn"
onClick={() => personLiveEvent(streetcode?.id ?? 0)}
href="#QRBlock"
>
<a href="#QRBlock">Оживити картинку</a>
<a>Оживити картинку</a>
</Button>
)
: <></>}
Expand Down
4 changes: 2 additions & 2 deletions src/features/StreetcodePage/QRBlock/QR.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ const QRComponent = () => {
return (
qrUrl?.url
? (
<div id="QRBlock" className="QRBlockContainer container">
<div className="QRBlockContainer container">
{isDesktop
? (
<div className="QRBlockContent">
<div id="QRBlock" className="QRBlockContent">
<div className="QRBlockImg">
<img src={IPhoneImg} alt="" />
</div>
Expand Down

0 comments on commit c38dc45

Please sign in to comment.