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

GH-1971: Replace spring promo with midnight promo in panel #571

Merged
merged 2 commits into from Jun 29, 2020
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Prev

Remove plus render

  • Loading branch information
benstrumeyer committed Jun 26, 2020
commit 913723688cf6d08a362225201645b36d5f272a9b
@@ -278,7 +278,7 @@ class Panel extends React.Component {
/**
* @returns {null|JSX}
* @private
* Renders the Plus promo modal if the user is not already an subscriber
* Renders the Plus promo modal if the user is not already a Plus subscriber
*/
_renderPlusPromoModal = () => {
if (this._hasPlusAccess() || this._hasPremiumAccess()) { return null; }
@@ -312,10 +312,6 @@ class Panel extends React.Component {
return this._renderInsightsPromoModal();
}

if (promoModal === 'plus') {
return this._renderPlusPromoModal();
}

if (promoModal === 'premium') {
return this._renderPremiumPromoModal();
}
ProTip! Use n and p to navigate between commits in a pull request.