remove component memoization

This commit is contained in:
Abhinav 2023-05-23 11:50:30 +05:30
parent a1fbe349d5
commit 77e124ae03
2 changed files with 3 additions and 3 deletions

View file

@ -69,4 +69,4 @@ function CollectionCardIcon({ collectionType }) {
);
}
export default React.memo(CollectionListBarCard);
export default CollectionListBarCard;

View file

@ -1,5 +1,5 @@
import ScrollButton from 'components/Collections/CollectionListBar/ScrollButton';
import React, { memo, useContext, useEffect } from 'react';
import React, { useContext, useEffect } from 'react';
import { ALL_SECTION, COLLECTION_SORT_BY } from 'constants/collection';
import { Box, IconButton, Typography } from '@mui/material';
import {
@ -178,4 +178,4 @@ const CollectionListBar = (props: IProps) => {
);
};
export default memo(CollectionListBar);
export default CollectionListBar;