/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 */

import{useLexicalComposerContext as o}from"@lexical/react/LexicalComposerContext";import{selectionAlwaysOnDisplay as t}from"@lexical/utils";import{useEffect as r}from"react";function e({onReposition:e}){const[i]=o();return r(()=>t(i,e),[i,e]),null}export{e as SelectionAlwaysOnDisplay};
