mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-03 09:54:19 -07:00
Add time to expiration date (#1654)
* Push out expiration by a day for fast fix * Add timestampt to expiration - update snapshots * Remove timed alerts
This commit is contained in:
parent
c398fe8737
commit
ef46af00f8
4 changed files with 5 additions and 15 deletions
|
@ -20,8 +20,6 @@ import * as styles from './J40Header.module.scss';
|
|||
import * as COMMON_COPY from '../../data/copy/common';
|
||||
import {PAGES_ENDPOINTS} from '../../data/constants';
|
||||
|
||||
const isAlertValid = new Date < COMMON_COPY.ALERTS.EXPIRATION_DATE;
|
||||
|
||||
const J40Header = () => {
|
||||
const intl = useIntl();
|
||||
|
||||
|
@ -232,7 +230,7 @@ const J40Header = () => {
|
|||
</J40MainGridContainer>
|
||||
|
||||
{/* Alert */}
|
||||
{isAlertValid && <J40MainGridContainer>
|
||||
{<J40MainGridContainer>
|
||||
<Alert
|
||||
className={styles.alert}
|
||||
type="info"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue