diff --git a/static/js/shop.jsx b/static/js/shop.jsx index bf7f32a9..dcdddb13 100644 --- a/static/js/shop.jsx +++ b/static/js/shop.jsx @@ -2,7 +2,7 @@ import React from "react"; import axios from "axios"; -import ReactDOM from "react-dom"; +import { createRoot } from "react-dom/client"; import PropTypes from "prop-types"; import { DragDropContext, Droppable, Draggable } from "react-beautiful-dnd"; import { v4 as uuidv4 } from 'uuid'; @@ -314,10 +314,10 @@ class Layout extends React.PureComponent { ) : null} -