Skip to content

Commit

Permalink
fix: eslintのエラーに対応
Browse files Browse the repository at this point in the history
  • Loading branch information
Kogepan229 authored and watasuke102 committed Jan 16, 2024
1 parent 3445379 commit 662b28e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/list/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ export default function list(): React.ReactElement {
</div>
<p id={css.create_new}>新規作成</p>
</div>
)
);

if (!list || list.length === 0) {
return [card_new_category];
}

let cards: React.ReactElement[] = [];
const cards: React.ReactElement[] = [];
let searchResult: AllCategoryDataType[] = [];

// 検索欄になにか記入されていたら、検索
Expand Down

0 comments on commit 662b28e

Please sign in to comment.