Skip to content

Commit

Permalink
Refactor media query for Tech component to support larger screen sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Udoy2 committed Sep 12, 2024
1 parent 534769b commit 67668a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Tech.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Tech = () => {
const [isMobile, setisMobile] = useState(false);

useEffect(() => {
const mediaQuery = window.matchMedia('(max-width: 500px)');
const mediaQuery = window.matchMedia('(max-width: 751px)');
setisMobile(mediaQuery.matches);

const handleMediaQueryChange = (event) => {
Expand Down

0 comments on commit 67668a4

Please sign in to comment.