"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useSignedInMember = void 0;
const react_1 = require("react");
const contexts_1 = require("../contexts");
const useSignedInMember = () => {
    const { externalMemberType, isExternalMemberHotel, memberNumber, memberOnlyModalPromotion, signedInUser } = (0, react_1.useContext)(contexts_1.CompanyContext);
    return {
        signedInUser,
        externalMemberType,
        isExternalMemberHotel,
        memberNumber,
        memberOnlyModalPromotion,
    };
};
exports.useSignedInMember = useSignedInMember;
//# sourceMappingURL=useSignedInMember.js.map