aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-15 18:38:26 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit4f65458afddd80ff0f4a36af0f9a228cd2805072 (patch)
treedeba2b644de0bbd464e72235139eb61403f5552b /vnext/src/components
parente524bc96e440dbd54447da764d34b5bfddee693e (diff)
Fix navigation from blog to blog
Diffstat (limited to 'vnext/src/components')
-rw-r--r--vnext/src/components/Feeds.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/components/Feeds.js b/vnext/src/components/Feeds.js
index 3cbc7d4b..a504bbb8 100644
--- a/vnext/src/components/Feeds.js
+++ b/vnext/src/components/Feeds.js
@@ -72,7 +72,7 @@ class Feed extends React.Component {
}
getSnapshotBeforeUpdate(prevProps) {
return (this.props.location.search != prevProps.location.search
- || this.props.visitor != prevProps.visitor);
+ || this.props.visitor != prevProps.visitor || this.props.query.search != prevProps.query.search);
}
componentDidUpdate(prevProps, prevState, shouldReload) {
if (shouldReload) {