From 26e7688699e49e242f8b0cea7823df1774375ebc Mon Sep 17 00:00:00 2001 From: GrannyYetta Date: Fri, 30 Aug 2024 14:50:27 +0200 Subject: [PATCH] simplified the structure and reorganized the rendering in the List view --- src/components/SearchForm.jsx | 4 +-- src/views/List.jsx | 51 +++++++++++++++++++++++++++-------- 2 files changed, 42 insertions(+), 13 deletions(-) diff --git a/src/components/SearchForm.jsx b/src/components/SearchForm.jsx index 901d5ad..acfbbfd 100644 --- a/src/components/SearchForm.jsx +++ b/src/components/SearchForm.jsx @@ -17,12 +17,12 @@ function SearchForm() {
+ )} + {searchItem && ( + + )} +
+ + );