@@ -249,11 +249,11 @@ class ReorderCell extends React.PureComponent {
249249 </ ExternalContextProvider >
250250 ) ;
251251
252- if ( this . props . __useReactv19Root ) {
252+ if ( this . props . __useReactRoot ) {
253253 const flushSync = ReactDOM . flushSync || ( ( fn ) => fn ( ) ) ; // ReactDOM.flushSync doesn't exist in older versions of React
254254 // flushSync is required to ensure that the drag proxy gets mounted synchronously in newer version of React
255255 flushSync ( ( ) => {
256- const root = this . props . __useReactv19Root ( this . getDragContainer ( ) ) ;
256+ const root = this . props . __useReactRoot ( this . getDragContainer ( ) ) ;
257257 this . dragContainer . root = root ;
258258 root . render ( proxy ) ;
259259 } ) ;
@@ -304,7 +304,7 @@ class ReorderCell extends React.PureComponent {
304304
305305 removeDragContainer = ( ) => {
306306 // since the drag container is going to be removed, also unmount the drag proxy
307- if ( this . props . __useReactv19Root ) {
307+ if ( this . props . __useReactRoot ) {
308308 this . dragContainer . root . unmount ( ) ;
309309 } else {
310310 ReactDOM . unmountComponentAtNode ( this . dragContainer ) ;
@@ -394,15 +394,15 @@ ReorderCell.propTypes = {
394394 *
395395 * const reorderCell = (
396396 * <ReorderCell
397- * __useReactv19Root ={createRoot}
397+ * __useReactRoot ={createRoot}
398398 * />
399399 * ```
400400 *
401401 * See https://github.com/schrodinger/fixed-data-table-2/issues/743) for more information.
402402 *
403403 * @deprecated This'll be removed in future major version updates of FDT.
404404 */
405- __useReactv19Root : PropTypes . func ,
405+ __useReactRoot : PropTypes . func ,
406406} ;
407407
408408export default ReorderCell ;
0 commit comments