0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Fixed incorrect usage of class

no refs

- React expects `class` on elements to be defined as `className`
This commit is contained in:
Rish 2020-09-03 16:27:35 +05:30
parent 23e0a76ea3
commit 4474a21a4d

View file

@ -249,7 +249,7 @@ const CancelContinueSubscription = ({member, onAction, action, brandColor, showO
}
const currentPeriodEnd = subscription.current_period_end;
return (
<p class="gh-portal-expire-warning">
<p className="gh-portal-expire-warning">
Your subscription will expire on {getDateString(currentPeriodEnd)}.
</p>
);