Skip to content

Commit

Permalink
fixed the merge conflict issue
Browse files Browse the repository at this point in the history
Co-authored-by: Maha Ahmed <eternalmaha@users.noreply.github.com>
  • Loading branch information
bbland1 and eternalmaha committed Sep 8, 2024
1 parent 58b4348 commit 79eec1f
Showing 1 changed file with 15 additions and 21 deletions.
36 changes: 15 additions & 21 deletions src/views/authenticated/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,28 +51,22 @@ export function List({ data: unfilteredListItems, listPath }: Props) {
Hello from the <code>/list</code> page!
</p>

{unfilteredListItems.length > 0 && (
<FilterListInput
searchTerm={searchTerm}
setSearchTerm={setSearchTerm}
/>
)}

<div>
<section>
<FilterListComponent
searchTerm={searchTerm}
setSearchTerm={setSearchTerm}
/>
<h3>Want to add more items to your list?</h3>
<button
onClick={() => navigate("/manage-list")}
aria-label="Navigate to add more items to your list"
>
{"Add items"}
</button>
</section>
<ul>
<section>
{unfilteredListItems.length > 0 && (
<FilterListInput
searchTerm={searchTerm}
setSearchTerm={setSearchTerm}
/>
)}
<h3>Want to add more items to your list?</h3>
<button
onClick={() => navigate("/manage-list")}
aria-label="Navigate to add more items to your list"
>
{"Add items"}
</button>
</section>
{filteredListItems.map((item) => (
<ListItemCheckBox key={item.id} item={item} listPath={listPath} />
))}
Expand Down

0 comments on commit 79eec1f

Please sign in to comment.