Skip to content

Commit

Permalink
Merge pull request #387 from reactioncommerce/fix-386-navigation-reac…
Browse files Browse the repository at this point in the history
…t-sortable-tree-update

fix: update react sortable tree to a patch version that supports rea…
  • Loading branch information
MohanNarayana authored Aug 9, 2021
2 parents c9365d1 + e8df604 commit d1b9949
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 68 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import Field from "@reactioncommerce/components/Field/v1";
import TextInput from "@reactioncommerce/components/TextInput/v1";
import { i18next } from "/client/api";
import ConfirmDialog from "@reactioncommerce/catalyst/ConfirmDialog";
import { changeNodeAtPath } from "react-sortable-tree";
import { changeNodeAtPath } from "react-sortable-tree-patch-react-17";

const styles = (theme) => ({
closeButtonContainer: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import IconButton from "@material-ui/core/IconButton";
import withStyles from "@material-ui/core/styles/withStyles";
import PencilIcon from "mdi-material-ui/Pencil";
import CloseIcon from "mdi-material-ui/Close";
import SortableTree, { removeNodeAtPath } from "react-sortable-tree";
import "react-sortable-tree/style.css";
import SortableTree, { removeNodeAtPath } from "react-sortable-tree-patch-react-17";
import "react-sortable-tree-patch-react-17/style.css";
import ConfirmDialog from "@reactioncommerce/catalyst/ConfirmDialog";
import SortableTheme from "./SortableTheme";

Expand Down
98 changes: 34 additions & 64 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
"react-router-dom": "^5.1.2",
"react-s-alert": "^1.4.1",
"react-select": "^3.0.4",
"react-sortable-tree": "^2.8.0",
"react-sortable-tree-patch-react-17": "^2.9.0",
"react-spring": "^8.0.27",
"react-stripe-elements": "^5.0.1",
"react-table": "^6.9.0",
Expand Down

0 comments on commit d1b9949

Please sign in to comment.