Skip to content

Commit

Permalink
feat: 모바일환경에서 식단표 더보기 이동 이벤트 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
MinGu-Jeong committed Feb 29, 2024
1 parent 49c6c20 commit 01fff61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/IndexPage/components/IndexCafeteria/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable jsx-a11y/click-events-have-key-events */
import { useNavigate } from 'react-router-dom';
import { CAFETERIA_CATEGORY } from 'static/cafeteria';
import { useState } from 'react';
Expand Down Expand Up @@ -73,7 +74,7 @@ function IndexCafeteria() {
<div className={styles.type}>
{getType()[0]}
</div>
<div className={styles.menuContainer}>
<div className={styles.menuContainer} onClick={(e) => handleMoreClick(e)} role="button" tabIndex={0}>
{선택된_식단 ? 선택된_식단.menu.slice(0, 10).map((menu) => (
<div className={styles.menu} key={menu}>
{menu}
Expand Down

0 comments on commit 01fff61

Please sign in to comment.