(patch) Add "Hide Repost" button in channel page (#1796)
## Issue Hide reposts gets enabled on channel page by default, on a fresh browser session. Open Odysee in private tab Go to some channel page Go back Go to some channel page(same or different) "Hide reposts" is enabled, and settings expanded Above also works with logging in while having "hide reposts" disabled in global settings. (edited) ## Fix Forgot to add default value.
This commit is contained in:
parent
7ecbb779af
commit
7c82110326
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ function ChannelContent(props: Props) {
|
|||
} = useHistory();
|
||||
|
||||
// In Channel Page, ignore SETTINGS.HIDE_REPOSTS and show reposts by default:
|
||||
const [hideReposts, setHideReposts] = usePersistedState('hideRepostsChannelPage');
|
||||
const [hideReposts, setHideReposts] = usePersistedState('hideRepostsChannelPage', false);
|
||||
|
||||
const claimSearchFilterCtx = {
|
||||
contentTypes: CS.CONTENT_TYPES,
|
||||
|
|
Loading…
Reference in a new issue