"use client";
import * as o from "react";
import { stylesheetSingleton as r } from "./singleton.js";
var f = function() {
  var e = r();
  return function(t, n) {
    o.useEffect(function() {
      return e.add(t), function() {
        e.remove();
      };
    }, [t && n]);
  };
};
export {
  f as styleHookSingleton
};
