feat: update

This commit is contained in:
chashaobao
2025-06-27 22:46:24 +08:00
parent 0020eb8dbe
commit de2f380cd9
22 changed files with 183 additions and 59 deletions

View File

@ -35,7 +35,7 @@ const AnchorTabs: TabItemType[] = [
{
type: PageType.GroupV2,
pagePath: PageUrl.GroupV2,
text: '通告群',
text: '主播群',
},
];

13
src/hooks/use-previous.ts Normal file
View File

@ -0,0 +1,13 @@
import { useEffect, useRef } from 'react';
function usePrevious<T>(value: T) {
const ref = useRef<T>();
useEffect(() => {
ref.current = value;
}, [value]);
return ref.current;
}
export default usePrevious;