Skip to content

Commit

Permalink
fix: 베스트상품 변수 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
nayoonju committed Jun 24, 2024
1 parent cbfc427 commit 61a6a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BestProductList.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const getPageSize = () => {
};

function BestProductList() {
const [orderBy, setOrderBy] = useState('favorite');
const orderBy = 'favorite';
const [products, setProducts] = useState([]);
const [pageSize, setPageSize] = useState(getPageSize());

Expand Down

0 comments on commit 61a6a27

Please sign in to comment.