ReportCreate: Fix anonymous url prefix

## Issue
5857 Channel does not update on display when reposting (but actually does)
This commit is contained in:
infinite-persistence 2021-04-09 18:45:52 +08:00 committed by Sean Yesmunt
parent f344096da4
commit 47c2d4633d

View file

@ -85,7 +85,7 @@ function RepostCreate(props: Props) {
const { replace, goBack } = useHistory();
const resolvingRepost = isResolvingEnteredRepost || isResolvingPassedRepost;
const repostUrlName = `lbry://${!activeChannelClaim ? '' : `${activeChannelClaim.name}/`}`;
const repostUrlName = `lbry://${incognito || !activeChannelClaim ? '' : `${activeChannelClaim.name}/`}`;
const contentFirstRender = React.useRef(true);
const setAutoRepostBid = amount => {