import * as c from "react";
import n from "./useForceUpdate.mjs";
function a(t) {
  const e = c.useRef(t), r = n();
  return [() => e.current, (o) => {
    e.current = o, r();
  }];
}
export {
  a as default
};
