Commit 821182eb authored by Max Alekseenko's avatar Max Alekseenko

remove commented code

parent 15d2d949
...@@ -111,11 +111,6 @@ export default function useMarketplace() { ...@@ -111,11 +111,6 @@ export default function useMarketplace() {
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
}, [ isPlaceholderData ]); }, [ isPlaceholderData ]);
// React.useEffect(() => {
// const isValidDefaultDisplayType = Object.values(MarketplaceDisplayType).includes(defaultDisplayType as MarketplaceDisplayType);
// isValidDefaultDisplayType && setSelectedDisplayType(defaultDisplayType);
// }, [ ]); // eslint-disable-line react-hooks/exhaustive-deps
React.useEffect(() => { React.useEffect(() => {
const query = _pickBy({ const query = _pickBy({
category: selectedCategoryId === MarketplaceCategory.ALL ? undefined : selectedCategoryId, category: selectedCategoryId === MarketplaceCategory.ALL ? undefined : selectedCategoryId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment