"use client";

import type { ReactNode } from "react";

import { usePlayEffectiveWs } from "@/hooks/use-play-effective-ws";

/** 全局挂载：后台发布玩法/赔率/封顶后刷新 `play/effective` 订阅方。 */
export function PlayEffectiveWsListener(): ReactNode {
  usePlayEffectiveWs();

  return null;
}
