mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(hooks): more accurate state strings
This commit is contained in:
@@ -138,7 +138,7 @@ const Subscriptions = () => {
|
||||
const [selectedFeed, setSelectedFeed] = useState(feed.sort((a, b) => b.timestamp - a.timestamp));
|
||||
const { subplebbits } = useSubplebbits({ subplebbitAddresses: account?.subscriptions, sortType: 'active' });
|
||||
|
||||
const stateString = useFeedStateString(subplebbits);
|
||||
const stateString = useFeedStateString(account?.subscriptions);
|
||||
|
||||
useEffect(() => {
|
||||
if (feed) {
|
||||
|
||||
Reference in New Issue
Block a user