This commit is contained in:
hailin 2025-06-15 12:58:25 +08:00
parent 5c65849ded
commit f3362cf02e
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ export function DetailPageHeader({ data }: { data: any }) {
const { t } = useTranslation();
const initWebSocket = (userName: string, id: number) => {
const initWebSocket = async (userName: string, id: number) => {
if (socketRef.current) socketRef.current.close();