"use client";

import type { ReactNode } from "react";

import { usePlayerBalanceWs } from "@/hooks/use-player-balance-ws";

/** 全局挂载：登录后订阅 `balance.update`。 */
export function PlayerBalanceWsListener(): ReactNode {
  usePlayerBalanceWs();

  return null;
}
