diff --git a/common/navigation-data.js b/common/navigation-data.js index 91ec6774..77492ee0 100644 --- a/common/navigation-data.js +++ b/common/navigation-data.js @@ -80,9 +80,6 @@ export const getByHref = (href, viewer) => { //NOTE(martina): to transform query params into more easily usable key value pairs in page if (!redirected) { let params = Strings.getParamsFromUrl(href); - if (page.id === "NAV_PROFILE" && page.cid) { - params.tab = "FILES"; - } page.params = params; } return { page, details, redirected }; diff --git a/components/core/ActivityGroup/components/ViewMoreContent.js b/components/core/ActivityGroup/components/ViewMoreContent.js index ae146788..cd2c4fa1 100644 --- a/components/core/ActivityGroup/components/ViewMoreContent.js +++ b/components/core/ActivityGroup/components/ViewMoreContent.js @@ -2,6 +2,7 @@ import * as React from "react"; import * as Styles from "~/common/styles"; import * as Strings from "~/common/strings"; import * as Validations from "~/common/validations"; +import * as Utilities from "~/common/utilities"; import { css } from "@emotion/react"; import { H5 } from "~/components/system/components/Typography"; @@ -28,12 +29,6 @@ const STYLES_SHOW_MORE_PREVIEWS = (theme) => css` } `; -const getImageCover = (item) => { - const coverImage = item?.coverImage; - const imageUrl = Strings.getURLfromCID(coverImage ? coverImage?.cid : item.cid); - return imageUrl; -}; - export default function ViewMoreContent({ items, children, ...props }) { return (