Yuki Takei 7 ماه پیش
والد
کامیت
f31e1c0fed
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      apps/app/src/states/socket-io/socket-io.ts

+ 2 - 1
apps/app/src/states/socket-io/socket-io.ts

@@ -15,7 +15,8 @@ const globalSocketAtom = atom<Socket | null>(null);
 /**
 /**
  * Hook to get WebSocket connection
  * Hook to get WebSocket connection
  */
  */
-export const useGlobalSocket = (): Socket | null => useAtomValue(globalSocketAtom);
+export const useGlobalSocket = (): Socket | null =>
+  useAtomValue(globalSocketAtom);
 
 
 /**
 /**
  * Hook to initialize WebSocket connection
  * Hook to initialize WebSocket connection