Merge cbbadac979090baa55c1e9c18440e48ea036a427 into 333567f481e60443360aa7199d481e1a45b3a523

This commit is contained in:
Adele Reed 2024-07-01 19:24:05 +05:00 committed by GitHub
commit 961574f3d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,6 +111,7 @@ class App extends Component {
const packsWithFilteredStickers = allPacks.map(pack => ({
...pack,
stickers: pack.stickers.filter(sticker =>
sanitizeString(pack.title).includes(searchTerm) ||
sanitizeString(sticker.body).includes(searchTerm) ||
sanitizeString(sticker.id).includes(searchTerm)
),