From 8da5065c680e04e3ab011b9cdc1c03dbb1d8c9f8 Mon Sep 17 00:00:00 2001 From: ekachxaidze98 <65679299+ekachxaidze98@users.noreply.github.com> Date: Fri, 22 Nov 2024 12:22:54 +0400 Subject: [PATCH] CORE: temp remove tracking (#727) --- src/modules/search-result/search-result.jsx | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/src/modules/search-result/search-result.jsx b/src/modules/search-result/search-result.jsx index c87542e4..0fc77f67 100644 --- a/src/modules/search-result/search-result.jsx +++ b/src/modules/search-result/search-result.jsx @@ -54,14 +54,11 @@ const fullTextStatus = ({ title, fullTextLink } = {}) => { } const SearchResult = ({ - renderRedirectLink, children, id, className, - searchId, useLogo = true, data: { - workId, title, author = [], publicationDate, @@ -156,11 +153,7 @@ const SearchResult = ({ itemType="https://schema.org/Person" > {a.name.replace(',', ' ')} @@ -215,11 +208,7 @@ const SearchResult = ({ className={styles.dataProvider} > {dataProvider.name} @@ -234,11 +223,9 @@ const SearchResult = ({ SearchResult.propTypes = { id: PropTypes.string.isRequired, - searchId: PropTypes.string, useLogo: PropTypes.bool, - renderRedirectLink: PropTypes.bool, data: PropTypes.shape({ - workId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), + id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), title: PropTypes.string, author: PropTypes.arrayOf( PropTypes.shape({