File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/modules/search-result Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ const fullTextStatus = ({ title, fullTextLink } = {}) => {
5555
5656const SearchResult = ( {
5757 renderRedirectLink,
58- renderKeys,
5958 children,
6059 id,
6160 className,
@@ -158,7 +157,7 @@ const SearchResult = ({
158157 >
159158 < a
160159 href = {
161- renderRedirectLink || renderKeys
160+ renderRedirectLink
162161 ? `/search?q=author:(${ a . name } )&t=${ searchId } -${ workId } `
163162 : `/search?q=author:(${ a . name } )`
164163 }
@@ -217,7 +216,7 @@ const SearchResult = ({
217216 >
218217 < Link
219218 href = {
220- renderRedirectLink || renderKeys
219+ renderRedirectLink
221220 ? `/data-providers/${ dataProvider . id } ?t=${ searchId } -${ workId } `
222221 : `/data-providers/${ dataProvider . id } `
223222 }
@@ -238,7 +237,6 @@ SearchResult.propTypes = {
238237 searchId : PropTypes . string ,
239238 useLogo : PropTypes . bool ,
240239 renderRedirectLink : PropTypes . bool ,
241- renderKeys : PropTypes . bool ,
242240 data : PropTypes . shape ( {
243241 workId : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . number ] ) ,
244242 title : PropTypes . string ,
You can’t perform that action at this time.
0 commit comments