mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
🔧 Pass searchTerm to SvgCard component for improved search functionality
This commit is contained in:
@@ -58,7 +58,7 @@
|
|||||||
/>
|
/>
|
||||||
<Grid>
|
<Grid>
|
||||||
{#each filteredSvgs as svg}
|
{#each filteredSvgs as svg}
|
||||||
<SvgCard svgInfo={svg} />
|
<SvgCard svgInfo={svg} {searchTerm} />
|
||||||
{/each}
|
{/each}
|
||||||
</Grid>
|
</Grid>
|
||||||
{#if filteredSvgs.length === 0}
|
{#if filteredSvgs.length === 0}
|
||||||
|
|||||||
Reference in New Issue
Block a user