-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix reeact 17.0.2 #20
base: master
Are you sure you want to change the base?
Conversation
Someone is attempting to deploy a commit to a Personal Account owned by @mathew-kurian on Vercel. @mathew-kurian first needs to authorize it. |
@@ -441,25 +442,6 @@ export default class OrgChart<T> extends React.Component< | |||
return { prevProps: props }; | |||
} | |||
|
|||
componentWillMount() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if I'm breaking some backward compatibility case by removing this, thus, for my react typescript environment, I had to totally remove componentWillMount, and componentWillReceiveProps , in order to avoid errors.
@@ -100,8 +100,9 @@ class SingleFishboneLayoutAdapter extends LayoutStrategyBase { | |||
this.SpecialRoot = new TreeNodeView( | |||
Box.Special(Box.None, realRoot.Element.Id, true) | |||
); | |||
(this.SpecialRoot.Level = this.RealRoot.Level), | |||
(this.SpecialRoot.ParentNode = this.RealRoot); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can see, this syntax does practically the same; thus I had to change it as Typescript 4.5.0-dev was not capable to recognise the syntax.
No description provided.