diff --git a/src/frontend/src/components/pages/search.js b/src/frontend/src/components/pages/search.js index 66f555d..96d8b4d 100644 --- a/src/frontend/src/components/pages/search.js +++ b/src/frontend/src/components/pages/search.js @@ -73,38 +73,38 @@ const SearchPost = () => { selectedTypes={selectedTypes} setSelectedTypes={setSelectedTypes} fromDate={fromDate} setFromDate={setFromDate} toDate={toDate} setToDate={setToDate} setShowFilter={setShowFilter} - /> : ( - - - - {({ getRootProps, getInputProps }) => { - return ( - - - - - ) - }} - - - {searchFile ? ( - - {searchFile.name} - - - ) : } - setShowFilter(true)}> - + /> : <> + + + + {({ getRootProps, getInputProps }) => { + return ( + + + + + ) + }} + + + {searchFile ? ( + + {searchFile.name} + + ) : } + setShowFilter(true)}> + - )} + {posts.map((post) => ( ))} + } ) }