Fix the broken notification click
Summary: This diff fixes the broken deeplink to the notifications hub when one clicks on the macos native notification. See the bug reported [here](https://fb.workplace.com/groups/220760072184928/permalink/532998544294411/) This [post](https://fb.workplace.com/groups/220760072184928/permalink/532998544294411/) reports the bug. Reviewed By: passy Differential Revision: D20089749 fbshipit-source-id: 8061ae07c450fd674795af4c5be53ce77402c063
This commit is contained in:
committed by
Facebook Github Bot
parent
2ee9778a8e
commit
abb2dc72ee
@@ -260,7 +260,7 @@ const Searchable = (
|
||||
prevProps.defaultSearchTerm !== this.props.defaultSearchTerm ||
|
||||
prevProps.defaultFilters !== this.props.defaultFilters
|
||||
) {
|
||||
newSearchTerm = this.props.defaultSearchTerm;
|
||||
newSearchTerm = this.props.defaultSearchTerm ?? '';
|
||||
}
|
||||
this.setState({
|
||||
filters: mergedFilters,
|
||||
|
||||
Reference in New Issue
Block a user