Skip to content

Commit

Permalink
Fix refresh on filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsm412 committed Oct 8, 2024
1 parent 7974a3e commit d46207e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ const NftCollectionPageComponent: FC<INftCollectionPageComponent> = ({

useEffect(() => {
if (
!metadataFilter &&
currentCollectionStatus !== dataStatuses.Loading &&
currentCollectionMetadata?.product?.firstTokenIndex &&
!currentCollection[currentCollectionMetadata?.product?.firstTokenIndex]
Expand All @@ -282,7 +283,8 @@ const NftCollectionPageComponent: FC<INftCollectionPageComponent> = ({
currentCollectionMetadata,
currentCollection,
getResetTokens,
currentCollectionStatus
currentCollectionStatus,
metadataFilter
]);

useEffect(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const MetadataAttributesPropertyItem = ({
{item.value.length > 7 && !isMobileDesign ? (
<>
<TooltipBox title={item.value}>
{`${item.value.slice(0, 4)}... (${quantity})`}
<>{`${item.value.slice(0, 4)}... (${quantity})`}</>
</TooltipBox>
</>
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const MetadataItem = ({
{item.name.length > 8 && !isMobileDesign ? (
<>
<TooltipBox title={item.name}>
{`${item.name.slice(0, 6)}...`}
<>{`${item.name.slice(0, 6)}...`}</>
</TooltipBox>
</>
) : (
Expand Down
2 changes: 1 addition & 1 deletion rair-node/bin/schemas/v2AuthSchemas.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Joi = require('joi');
const { customValidator } = require('./helpers');
const { blockchainNetworks, ethAddress } = require('./reusableCustomTypes');
const { ethAddress } = require('./reusableCustomTypes');

module.exports = {
v2Unlock: () => ({
Expand Down

0 comments on commit d46207e

Please sign in to comment.