File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed
website/src/pages/showcase Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,6 @@ function ShowcaseCards() {
259
259
< Heading as = "h2" >
260
260
< Translate id = "showcase.usersList.noResult" > No result</ Translate >
261
261
</ Heading >
262
- < SearchBar />
263
262
</ div >
264
263
</ section >
265
264
) ;
@@ -309,10 +308,8 @@ function ShowcaseCards() {
309
308
) : (
310
309
< div className = "container" >
311
310
< div
312
- className = { clsx (
313
- 'margin-bottom--md' ,
314
- styles . showcaseFavoriteHeader ,
315
- ) } />
311
+ className = { clsx ( 'margin-bottom--md' , styles . showcaseFavoriteHeader ) }
312
+ />
316
313
< ul className = { clsx ( 'clean-list' , styles . showcaseList ) } >
317
314
{ filteredUsers . map ( ( user ) => (
318
315
< ShowcaseCard key = { user . title } user = { user } />
@@ -325,19 +322,16 @@ function ShowcaseCards() {
325
322
}
326
323
327
324
export default function Showcase ( ) : JSX . Element {
328
- const filteredUsers = useFilteredUsers ( ) ;
329
325
return (
330
326
< Layout title = { TITLE } description = { DESCRIPTION } >
331
327
< main className = "margin-vert--lg" >
332
328
< ShowcaseHeader />
333
329
< ShowcaseFilters />
334
- { filteredUsers . length !== 0 && (
335
- < div
336
- style = { { display : 'flex' , marginLeft : 'auto' } }
337
- className = "container" >
338
- < SearchBar />
339
- </ div >
340
- ) }
330
+ < div
331
+ style = { { display : 'flex' , marginLeft : 'auto' } }
332
+ className = "container" >
333
+ < SearchBar />
334
+ </ div >
341
335
< ShowcaseCards />
342
336
</ main >
343
337
</ Layout >
You can’t perform that action at this time.
0 commit comments