Skip to content

Commit

Permalink
fix: mf-6006 mask icon in popup (#11310)
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleBill authored and guanbinrui committed Jan 30, 2024
1 parent 4bc76c1 commit b27cc6d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ export function injectPostDialogHintAtTwitter(signal: AbortSignal) {
missingReportRule: { name: 'PostDialog hint timeline', rule: 'https://twitter.com/home' },
})

const composeWithEditor = isCompose() && hasEditor()
renderPostDialogHintTo(
'popup',
postEditorInPopupSelector().map((x) => (composeWithEditor ? x : emptyNode)),
postEditorInPopupSelector().map((x) => (isCompose() && hasEditor() ? x : emptyNode)),
{
signal,
missingReportRule: {
Expand Down

0 comments on commit b27cc6d

Please sign in to comment.