Skip to content
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 Replaced deprecated CSS and React functions #258

Conversation

sabina-talipova
Copy link
Contributor

Description

  • Replaced deprecated React function componentWillReceiveProps with componentDidUpdate;
  • Replaced deprecated React function componentWillMount with componentDidMount;
  • Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
    • Replaced divider / to calc(*/*) function

Parent issue

Copy link
Contributor

@maxime-rainville maxime-rainville left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@@ -59,20 +59,20 @@ class CampaignAdmin extends Component {
this.handleToggleMessage = this.handleToggleMessage.bind(this);
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this and it seems to be working fine.

@maxime-rainville maxime-rainville merged commit e0f29fc into silverstripe:2.0 Mar 24, 2023
@maxime-rainville maxime-rainville deleted the pulls/2.0/fix-frontend-warnings branch March 24, 2023 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants