"use strict";

exports.__esModule = true;
exports.usePlatformApiCompat = usePlatformApiCompat;
var _yoshiFlowBm = require("@wix/yoshi-flow-bm");
function usePlatformApiCompat() {
  try {
    // eslint-disable-next-line react-hooks/rules-of-hooks
    return (0, _yoshiFlowBm.usePlatformApi)() ?? {};
  } catch (e) {
    console.error(e);
    return {};
  }
}
//# sourceMappingURL=usePlatformApiCompat.js.map