From 40930e1d6c634cdcde6376576f9422ddfa7f20f4 Mon Sep 17 00:00:00 2001 From: 2yunseong Date: Wed, 18 Sep 2024 23:44:52 +0900 Subject: [PATCH] refactor: map function parameter destructing --- frontend/components/common/board/BoardTable.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/components/common/board/BoardTable.tsx b/frontend/components/common/board/BoardTable.tsx index da964fd..acb64d0 100644 --- a/frontend/components/common/board/BoardTable.tsx +++ b/frontend/components/common/board/BoardTable.tsx @@ -13,13 +13,13 @@ const BoardTable = ({ boardRows, handleModalOpen }: BoardTableProps) => { 검색결과가 없습니다. ) : ( <> - {boardRows.map((item) => ( + {boardRows.map(({ id, title, subElements, passState }) => ( ))}