Fixed class attribute usage

no issue

- React expects class attribute on element to be defined as `className`
This commit is contained in:
Rish 2020-09-03 17:11:42 +05:30
parent b2dae5fc44
commit a8d2c03f9c

View File

@ -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) => {