resources question page added

This commit was merged in pull request #331.
This commit is contained in:
victorAnumudu
2023-07-17 13:42:21 +01:00
parent 8b3c586456
commit ab700edcf2
2 changed files with 29 additions and 11 deletions
+2 -2
View File
@@ -65,7 +65,8 @@ export default function Resources(props) {
if(name == 'blog'){
return blogItems?.blogdata?.length
}else if(name == 'onsale'){
return onSaleProducts?.length
// return onSaleProducts?.length
return null
}else if(name == 'owned'){
return ownProducts?.length
}else if(name == 'created'){
@@ -95,7 +96,6 @@ export default function Resources(props) {
: "text-thin-light-gray bg-[#F2B8FD]"
}`}
>
{/* 16 blog, onsale, owned,created */}
{countNumber(tabValue.name)}
</span>
</li>