diff --git a/src/components/views/Pending.jsx b/src/components/views/Pending.jsx index b451fbb8..944f6c86 100644 --- a/src/components/views/Pending.jsx +++ b/src/components/views/Pending.jsx @@ -26,7 +26,6 @@ const Pending = () => { isSettingsOpen, setIsSettingsOpen, selectedAddress, setSelectedAddress, selectedStyle, - selectedThread, selectedTitle, setSelectedTitle, showPostFormLink } = useGeneralStore(state => state); @@ -36,6 +35,10 @@ const Pending = () => { const account = useAccount(); const comment = useAccountComment({commentIndex: index}); + useEffect(() => { + setSelectedAddress(comment?.subplebbitAddress); + }, [comment, setSelectedAddress]); + const stateString = useStateString(comment?.clients) const errorString = useMemo(() => {