chore(deps): migrate from pkc-react-hooks to bitsocial-react-hooks

This commit is contained in:
plebeius
2026-03-05 17:14:23 +08:00
parent 67ab49cc9d
commit 4508f589dd
64 changed files with 219 additions and 492 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { ChallengeVerification } from '@bitsocialhq/pkc-react-hooks';
import { ChallengeVerification } from '@bitsocialhq/bitsocial-react-hooks';
import directoriesData from '../../data/5chan-directories.json';
import { getBoardPath } from './route-utils';
+1 -1
View File
@@ -1,4 +1,4 @@
import localForageLru from '@bitsocialhq/pkc-react-hooks/dist/lib/localforage-lru/index.js';
import localForageLru from '@bitsocialhq/bitsocial-react-hooks/dist/lib/localforage-lru/index.js';
import { canEmbed } from '../../components/embed';
import memoize from 'memoizee';
import { isValidURL } from './url-utils';
+2 -2
View File
@@ -1,5 +1,5 @@
import { Comment } from '@bitsocialhq/pkc-react-hooks';
import useSubplebbitsStore from '@bitsocialhq/pkc-react-hooks/dist/stores/subplebbits';
import { Comment } from '@bitsocialhq/bitsocial-react-hooks';
import useSubplebbitsStore from '@bitsocialhq/bitsocial-react-hooks/dist/stores/subplebbits';
/**
* Checks if a text matches a pattern according to various pattern matching rules:
+1 -1
View File
@@ -1,4 +1,4 @@
import { Comment } from '@bitsocialhq/pkc-react-hooks';
import { Comment } from '@bitsocialhq/bitsocial-react-hooks';
export type PostMenuProps = {
cid?: string;