Seems like this is not needed

Fix See Post button not opening the post
pull/165/head^2
Lim Chee Aun 2023-06-13 15:32:10 +08:00
rodzic b5250f03c1
commit f6ef727cae
1 zmienionych plików z 8 dodań i 8 usunięć

Wyświetl plik

@ -219,14 +219,14 @@ function MediaModal({
: ''
}`}
class="button carousel-button media-post-link plain3"
onClick={() => {
// if small screen (not media query min-width 40em + 350px), run onClose
if (
!window.matchMedia('(min-width: calc(40em + 350px))').matches
) {
onClose();
}
}}
// onClick={() => {
// // if small screen (not media query min-width 40em + 350px), run onClose
// if (
// !window.matchMedia('(min-width: calc(40em + 350px))').matches
// ) {
// onClose();
// }
// }}
>
<span class="button-label">See post </span>&raquo;
</Link>