refactor: org name changed from bitsocialhq to bitsocialnet

This commit is contained in:
plebeius
2026-03-09 17:01:35 +08:00
parent 3b341922c4
commit 417482060d
150 changed files with 209 additions and 209 deletions
@@ -66,12 +66,12 @@ vi.mock('react-i18next', () => ({
}),
}));
vi.mock('@bitsocialhq/bitsocial-react-hooks', () => ({
vi.mock('@bitsocialnet/bitsocial-react-hooks', () => ({
setAccount: (account: unknown) => testState.setAccountMock(account),
useAccount: () => testState.account,
}));
vi.mock('@bitsocialhq/bitsocial-react-hooks/dist/stores/subplebbits', () => ({
vi.mock('@bitsocialnet/bitsocial-react-hooks/dist/stores/subplebbits', () => ({
default: <T,>(selector: (state: { subplebbits: typeof testState.subplebbits }) => T) =>
selector({
subplebbits: testState.subplebbits,
+1 -1
View File
@@ -1,7 +1,7 @@
import { useEffect, useRef, useState } from 'react';
import { useLocation, useParams } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import { setAccount, useAccount } from '@bitsocialhq/bitsocial-react-hooks';
import { setAccount, useAccount } from '@bitsocialnet/bitsocial-react-hooks';
import { isValidURL } from '../../lib/utils/url-utils';
import { isAllView, isModView, isSubscriptionsView } from '../../lib/utils/view-utils';
import useSelectedTextStore from '../../stores/use-selected-text-store';