mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
Fixed class attribute usage
no issue - React expects class attribute on element to be defined as `className`
This commit is contained in:
parent
b2dae5fc44
commit
a8d2c03f9c
@ -54,14 +54,14 @@ export const CancelContinueSubscription = ({member, onAction, action, brandColor
|
||||
}
|
||||
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>
|
||||
);
|
||||
};
|
||||
|
||||
return (
|
||||
<div class="gh-portal-expire-container">
|
||||
<div className="gh-portal-expire-container">
|
||||
<CancelNotice />
|
||||
<ActionButton
|
||||
onClick={(e) => {
|
||||
|
Loading…
Reference in New Issue
Block a user