Skip to content

Commit

Permalink
fix: 프로젝트 카운트 useMediaQuery 직접 사용
Browse files Browse the repository at this point in the history
  • Loading branch information
solar3070 committed Oct 28, 2023
1 parent c426d38 commit ed08189
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { useIsTablet } from '@src/hooks/useDevice';
import { useMediaQuery } from 'react-responsive';
import * as S from './style';

interface ProjectListCountProps {
count: number;
}

export default function ProjectListCount({ count }: ProjectListCountProps) {
const isTablet = useIsTablet('900px', '1279px');
const isTablet = useMediaQuery({ query: '(min-width: 900px) and (max-width: 1279px)' });

return (
<S.Count>
Expand Down

0 comments on commit ed08189

Please sign in to comment.