chore(deps): use published bitsocial react hooks

This commit is contained in:
Tommaso Casaburi
2026-04-20 22:11:36 +07:00
parent 338f415f2a
commit c046c542b6
120 changed files with 169 additions and 169 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ vi.mock('react-router-dom', async () => {
};
});
vi.mock('@bitsocialnet/bitsocial-react-hooks', () => ({
vi.mock('@bitsocial/bitsocial-react-hooks', () => ({
useCommunity: (options?: { communityAddress?: string; community?: { name?: string; publicKey?: string } }) => {
const communityAddress = options?.communityAddress ?? options?.community?.name ?? options?.community?.publicKey;
return communityAddress ? testState.communities[communityAddress] : undefined;
+1 -1
View File
@@ -1,6 +1,6 @@
import { useEffect, useState, FormEvent } from 'react';
import { useNavigate, useParams } from 'react-router-dom';
import { useCommunity } from '@bitsocialnet/bitsocial-react-hooks';
import { useCommunity } from '@bitsocial/bitsocial-react-hooks';
import { Footer, HomeLogo } from '../home';
import { useDirectories, DirectoryCommunity, findDirectoryByAddress } from '../../hooks/use-directories';
import { useCommunityIdentifier } from '../../hooks/use-community-identifiers';