diff --git a/webapp/package-lock.json b/webapp/package-lock.json index 648684e121..1ecd9a1ef2 100644 --- a/webapp/package-lock.json +++ b/webapp/package-lock.json @@ -4248,31 +4248,6 @@ "@ethersproject/strings": "^5.7.0" } }, - "node_modules/@fluentui/react-component-event-listener": { - "version": "0.63.1", - "resolved": "https://registry.npmjs.org/@fluentui/react-component-event-listener/-/react-component-event-listener-0.63.1.tgz", - "integrity": "sha512-gSMdOh6tI3IJKZFqxfQwbTpskpME0CvxdxGM2tdglmf6ZPVDi0L4+KKIm+2dN8nzb8Ya1A8ZT+Ddq0KmZtwVQg==", - "dependencies": { - "@babel/runtime": "^7.10.4" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17 || ^18", - "react-dom": "^16.8.0 || ^17 || ^18" - } - }, - "node_modules/@fluentui/react-component-ref": { - "version": "0.63.1", - "resolved": "https://registry.npmjs.org/@fluentui/react-component-ref/-/react-component-ref-0.63.1.tgz", - "integrity": "sha512-8MkXX4+R3i80msdbD4rFpEB4WWq2UDvGwG386g3ckIWbekdvN9z2kWAd9OXhRGqB7QeOsoAGWocp6gAMCivRlw==", - "dependencies": { - "@babel/runtime": "^7.10.4", - "react-is": "^16.6.3" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17 || ^18", - "react-dom": "^16.8.0 || ^17 || ^18" - } - }, "node_modules/@formatjs/ecma402-abstract": { "version": "1.11.4", "resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.11.4.tgz", @@ -5342,19 +5317,6 @@ "@scure/base": "~1.0.0" } }, - "node_modules/@semantic-ui-react/event-stack": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/@semantic-ui-react/event-stack/-/event-stack-3.1.3.tgz", - "integrity": "sha512-FdTmJyWvJaYinHrKRsMLDrz4tTMGdFfds299Qory53hBugiDvGC0tEJf+cHsi5igDwWb/CLOgOiChInHwq8URQ==", - "dependencies": { - "exenv": "^1.2.2", - "prop-types": "^15.6.2" - }, - "peerDependencies": { - "react": "^16.0.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/@sentry-internal/tracing": { "version": "7.64.0", "resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.64.0.tgz", @@ -10773,19 +10735,6 @@ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.10.tgz", "integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==" }, - "node_modules/dayzed": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/dayzed/-/dayzed-3.2.3.tgz", - "integrity": "sha512-qXTIKs+R6ydWwNo+X1wu3lUptyRSGoyY+ZzRcQSM0zUlaG+/Ei+bFjqbQm1T2oJ+WKNkTHURBcGsxnx9N+9kfA==", - "dependencies": { - "@babel/runtime": "^7.6.2", - "date-fns": "^2.0.0" - }, - "peerDependencies": { - "prop-types": "^15", - "react": "^16.8 || ^17.0 || ^18.0" - } - }, "node_modules/dcl-catalyst-client": { "version": "21.5.0", "resolved": "https://registry.npmjs.org/dcl-catalyst-client/-/dcl-catalyst-client-21.5.0.tgz", @@ -22551,20 +22500,6 @@ "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==" }, - "node_modules/react-popper": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.3.0.tgz", - "integrity": "sha512-e1hj8lL3uM+sgSR4Lxzn5h1GxBlpa4CQz0XLF8kx4MDrDRWY0Ena4c97PUeSX9i5W3UAfDP0z0FXCTQkoXUl3Q==", - "dependencies": { - "react-fast-compare": "^3.0.1", - "warning": "^4.0.2" - }, - "peerDependencies": { - "@popperjs/core": "^2.0.0", - "react": "^16.8.0 || ^17 || ^18", - "react-dom": "^16.8.0 || ^17 || ^18" - } - }, "node_modules/react-redux": { "version": "7.2.4", "license": "MIT", @@ -22861,6 +22796,19 @@ "node": ">=14.0.0" } }, + "node_modules/react-semantic-ui-datepickers/node_modules/dayzed": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/dayzed/-/dayzed-3.2.3.tgz", + "integrity": "sha512-qXTIKs+R6ydWwNo+X1wu3lUptyRSGoyY+ZzRcQSM0zUlaG+/Ei+bFjqbQm1T2oJ+WKNkTHURBcGsxnx9N+9kfA==", + "dependencies": { + "@babel/runtime": "^7.6.2", + "date-fns": "^2.0.0" + }, + "peerDependencies": { + "prop-types": "^15", + "react": "^16.8 || ^17.0 || ^18.0" + } + }, "node_modules/react-tile-map": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/react-tile-map/-/react-tile-map-0.4.1.tgz", @@ -24342,6 +24290,58 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, + "node_modules/semantic-ui-react/node_modules/@fluentui/react-component-event-listener": { + "version": "0.63.1", + "resolved": "https://registry.npmjs.org/@fluentui/react-component-event-listener/-/react-component-event-listener-0.63.1.tgz", + "integrity": "sha512-gSMdOh6tI3IJKZFqxfQwbTpskpME0CvxdxGM2tdglmf6ZPVDi0L4+KKIm+2dN8nzb8Ya1A8ZT+Ddq0KmZtwVQg==", + "dependencies": { + "@babel/runtime": "^7.10.4" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17 || ^18", + "react-dom": "^16.8.0 || ^17 || ^18" + } + }, + "node_modules/semantic-ui-react/node_modules/@fluentui/react-component-ref": { + "version": "0.63.1", + "resolved": "https://registry.npmjs.org/@fluentui/react-component-ref/-/react-component-ref-0.63.1.tgz", + "integrity": "sha512-8MkXX4+R3i80msdbD4rFpEB4WWq2UDvGwG386g3ckIWbekdvN9z2kWAd9OXhRGqB7QeOsoAGWocp6gAMCivRlw==", + "dependencies": { + "@babel/runtime": "^7.10.4", + "react-is": "^16.6.3" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17 || ^18", + "react-dom": "^16.8.0 || ^17 || ^18" + } + }, + "node_modules/semantic-ui-react/node_modules/@semantic-ui-react/event-stack": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@semantic-ui-react/event-stack/-/event-stack-3.1.3.tgz", + "integrity": "sha512-FdTmJyWvJaYinHrKRsMLDrz4tTMGdFfds299Qory53hBugiDvGC0tEJf+cHsi5igDwWb/CLOgOiChInHwq8URQ==", + "dependencies": { + "exenv": "^1.2.2", + "prop-types": "^15.6.2" + }, + "peerDependencies": { + "react": "^16.0.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/semantic-ui-react/node_modules/react-popper": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.3.0.tgz", + "integrity": "sha512-e1hj8lL3uM+sgSR4Lxzn5h1GxBlpa4CQz0XLF8kx4MDrDRWY0Ena4c97PUeSX9i5W3UAfDP0z0FXCTQkoXUl3Q==", + "dependencies": { + "react-fast-compare": "^3.0.1", + "warning": "^4.0.2" + }, + "peerDependencies": { + "@popperjs/core": "^2.0.0", + "react": "^16.8.0 || ^17 || ^18", + "react-dom": "^16.8.0 || ^17 || ^18" + } + }, "node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", diff --git a/webapp/src/components/AssetBrowse/AssetBrowse.tsx b/webapp/src/components/AssetBrowse/AssetBrowse.tsx index 3d2a2823ce..840aff3517 100644 --- a/webapp/src/components/AssetBrowse/AssetBrowse.tsx +++ b/webapp/src/components/AssetBrowse/AssetBrowse.tsx @@ -33,7 +33,6 @@ import CollectionList from '../CollectionList' import StoreSettings from '../StoreSettings' import Sales from '../Sales' import { Bids } from '../Bids' -import { ClaimYourName } from '../ClaimYourName' import { Props } from './AssetBrowse.types' import MapTopbar from './MapTopbar' import MapBrowse from './MapBrowse' @@ -233,7 +232,6 @@ const AssetBrowse = (props: Props) => { case DecentralandSection.ENS: right = ( <> - {!isAccountOrCurrentAccount && } @@ -257,7 +255,6 @@ const AssetBrowse = (props: Props) => { Sections.decentraland.LAND, Sections.decentraland.WEARABLES, Sections.decentraland.EMOTES, - Sections.decentraland.ENS, Sections.decentraland.ON_SALE, Sections.decentraland.ON_RENT, Sections.decentraland.SALES, diff --git a/webapp/src/components/AssetTopbar/AssetTopbar.tsx b/webapp/src/components/AssetTopbar/AssetTopbar.tsx index f45b7f48ba..2385c0a4b5 100644 --- a/webapp/src/components/AssetTopbar/AssetTopbar.tsx +++ b/webapp/src/components/AssetTopbar/AssetTopbar.tsx @@ -159,13 +159,6 @@ export const AssetTopbar = ({ [onBrowse, onlyOnSale, onlyOnRent] ) - useEffect(() => { - const option = sortByOptions.find(option => option.value === sortBy) - if (!option) { - onBrowse({ sortBy: sortByOptions[0].value }) - } - }, [onBrowse, sortBy, sortByOptions]) - const sortByValue = sortByOptions.find(option => option.value === sortBy) ? sortBy : sortByOptions[0].value diff --git a/webapp/src/components/BrowsePage/BrowsePage.tsx b/webapp/src/components/BrowsePage/BrowsePage.tsx index cd8c4fe33f..62fb71590f 100644 --- a/webapp/src/components/BrowsePage/BrowsePage.tsx +++ b/webapp/src/components/BrowsePage/BrowsePage.tsx @@ -29,7 +29,7 @@ const BrowsePage = (props: Props) => { isFullscreen={Boolean(isFullscreen)} view={View.MARKET} section={section} - sections={[Section.WEARABLES, Section.EMOTES, Section.ENS]} + sections={[Section.WEARABLES, Section.EMOTES]} contracts={contracts} />