Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.151/page_editor/app/hooks/app_hooks/useLanguageDirection",["module","exports","require","liferay!frontend-js-react-web$react","../../contexts/StoreContext","../../selectors/selectLanguageId"],(function(e,t,o){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function useLanguageDirection(){const e=(0,n.useSelector)(a.default);(0,r.useEffect)((()=>{const t=Liferay.Language.direction[e],o=document.getElementById("wrapper");o&&(o.dir=t,o.lang=e)}),[e])};var r=o("liferay!frontend-js-react-web$react"),n=o("../../contexts/StoreContext"),a=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o("../../selectors/selectLanguageId"))}));
//# sourceMappingURL=useLanguageDirection.js.map