Skip to content

Commit

Permalink
error message
Browse files Browse the repository at this point in the history
  • Loading branch information
wslyvh committed Jul 10, 2024
1 parent fdf576f commit b3b827a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
'plugin:@typescript-eslint/recommended',
],
rules: {
'no-console': 'error',
'no-console': 'off', // error -> off
'@typescript-eslint/no-unused-vars': [
'error',
{
Expand Down
2 changes: 2 additions & 0 deletions packages/frontend/src/components/info/VoucherTimeLeft.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { formatDate } from '@/utils/formatters/formatDate'
import { useVoucherRedeemDeadline } from '@/blockchain/hooks/useVoucherRedeemDeadline'
import { useReadAuctionParams } from '@/blockchain/hooks/useReadAuctionParams'
import { MediaQueries } from '@/styles/mediaQueries'
import Link from 'next/link'

export const VoucherTimeLeft = () => {
const { claimingEndTime } = useReadAuctionParams()
Expand All @@ -23,6 +24,7 @@ export const VoucherTimeLeft = () => {
<span>{isRedeemingExpired ? 'Voucher redemption expired on ' : 'Voucher redemption ends: '}</span>
<RemainingTime>{formatDate(redeemTimestamp)}</RemainingTime>
</TimeRow>
<div style={{ background: 'red', color: 'white', padding: '8px', marginTop: '8px', marginBottom: '8px' }}>We are currently experiencing issues and you are unable to claim your raffle ticket! We apologize for the inconvenience and are working on a fix. Follow our <Link href='https://x.com/EFDevcon/status/1810926754820681833'>Twitter</Link> for updates.</div>
</VoucherTimeBox>
)
}
Expand Down

0 comments on commit b3b827a

Please sign in to comment.