This commit is contained in:
parent
5c65849ded
commit
f3362cf02e
|
|
@ -151,7 +151,7 @@ export function DetailPageHeader({ data }: { data: any }) {
|
||||||
|
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const initWebSocket = (userName: string, id: number) => {
|
const initWebSocket = async (userName: string, id: number) => {
|
||||||
if (socketRef.current) socketRef.current.close();
|
if (socketRef.current) socketRef.current.close();
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue