Merge pull request #58 from tfrubel/main

fixed related post suggestions
This commit is contained in:
Al Murad Uzzaman
2025-01-13 13:54:11 +06:00
committed by GitHub
+1 -1
View File
@@ -28,7 +28,7 @@ const similarItems = (currentItem: any, allItems: any[]) => {
// filter by slug
const filterBySlug = mergedItems.filter(
(product) => product.slug !== currentItem.slug,
(product) => product.id !== currentItem.id,
);
return filterBySlug;