import { useEffect as e } from "react";
import o from "@arcblock/react-hooks/lib/useBrowser";
import t from "@arcblock/bridge";
const s = () => {
  const r = o();
  e(() => {
    (r.wallet || r.arcSphere) && t.call("arcHideTopBar", "{}");
  }, [r]);
};
export {
  s as useWalletHiddenTopbar
};
