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
@@ -11,7 +11,7 @@ const testState = vi.hoisted(() => ({
localForageSetItemMock: vi.fn(),
}));
vi.mock('@bitsocialnet/bitsocial-react-hooks/dist/lib/localforage-lru/index.js', () => ({
vi.mock('@bitsocial/bitsocial-react-hooks/dist/lib/localforage-lru/index.js', () => ({
default: {
createInstance: () => ({
getItem: (url: string) => testState.localForageGetItemMock(url),
@@ -5,7 +5,7 @@ const testState = vi.hoisted(() => ({
communities: {} as Record<string, { roles?: Record<string, { role?: string }> }>,
}));
vi.mock('@bitsocialnet/bitsocial-react-hooks/dist/stores/communities', () => ({
vi.mock('@bitsocial/bitsocial-react-hooks/dist/stores/communities', () => ({
default: {
getState: () => ({
communities: testState.communities,
@@ -1,4 +1,4 @@
import type { Comment } from '@bitsocialnet/bitsocial-react-hooks';
import type { Comment } from '@bitsocial/bitsocial-react-hooks';
import { describe, expect, it } from 'vitest';
import { getRenderableMobileBacklinks } from '../reply-backlink-utils';