Browse Source

fixed dom error

imwald
Silberengel 5 months ago
parent
commit
6331aa1e6b
  1. 4
      src/components/Note/DiscussionContent/index.tsx
  2. 2
      src/components/PostEditor/PostRelaySelector.tsx

4
src/components/Note/DiscussionContent/index.tsx

@ -17,11 +17,13 @@ export default function DiscussionContent({
() => () =>
({ ({
nostr: (props) => ( nostr: (props) => (
<div className="not-prose my-2">
<NostrNode <NostrNode
rawText={props.rawText} rawText={props.rawText}
bech32Id={props.bech32Id} bech32Id={props.bech32Id}
/> />
), </div>
)
}) as Components, }) as Components,
[] []
) )

2
src/components/PostEditor/PostRelaySelector.tsx

@ -87,7 +87,7 @@ export default function PostRelaySelector({
} }
updateRelaySelection() updateRelaySelection()
}, [openFrom, _parentEvent, favoriteRelays, blockedRelays, relaySets, isPublicMessage, postContent, pubkey, relayList, hasManualSelection, previousSelectableCount]) }, [openFrom, _parentEvent, favoriteRelays, blockedRelays, relaySets, isPublicMessage, postContent, pubkey, relayList])
// Update description when selected relays change due to manual selection // Update description when selected relays change due to manual selection
useEffect(() => { useEffect(() => {

Loading…
Cancel
Save