(patch) Add "Hide Repost" button in channel page
Fixes the "force repost" behavior in Category Page. Got the logic wrong when the boolean parameter was inverted from "force" (+ve) to "hideRepostOverride" (-ve) to support the "Hide Repost" button. hideRepostOverride: - undefined = follow user setting - true = always hide - false = always show << we want this
This commit is contained in:
parent
147ac43eac
commit
e858cdd88b
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ function DiscoverPage(props: Props) {
|
|||
}
|
||||
meta={getMeta()}
|
||||
hasSource
|
||||
hideRepostsOverride={dynamicRouteProps ? true : undefined}
|
||||
hideRepostsOverride={dynamicRouteProps ? false : undefined}
|
||||
searchLanguages={dynamicRouteProps?.options?.searchLanguages}
|
||||
/>
|
||||
</ClaimSearchFilterContext.Provider>
|
||||
|
|
Loading…
Reference in a new issue