Skip to content

Commit

Permalink
refactor: Remove unused Alert component and update video title in Gap…
Browse files Browse the repository at this point in the history
…sPatternsPage
  • Loading branch information
zushar committed Jun 11, 2024
1 parent 688c40e commit 8118f3c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/pages/gapsPatterns/GapsPatternsPage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useContext, useEffect, useState } from 'react'
import './GapsPatternsPage.scss'
import { Moment } from 'moment'
import { Skeleton, Radio, RadioChangeEvent, Space } from 'antd'
import { Skeleton, Radio, RadioChangeEvent } from 'antd'
import CircularProgress from '@mui/material/CircularProgress'
import moment from 'moment/moment'
import { useDate } from '../components/DateTimePicker'
Expand Down Expand Up @@ -180,15 +180,10 @@ const GapsPatternsPage = () => {
{t('gaps_patterns_page_title')}
<InfoYoutubeModal
label={t('open_video_about_this_page')}
title={t('youtube_modal_info_title')}
title={t('gaps_patterns_page_description')}
videoUrl="https://www.youtube-nocookie.com/embed?v=-C_rZlbHBmk&list=PL6Rh06rT7uiX1AQE-lm55hy-seL3idx3T&index=4"
/>
</Typography>
<Space direction="vertical" size="middle" style={{ marginBottom: '22px' }}>
<Alert severity="info" variant="outlined" sx={{ bgcolor: '#eaf5fe' }} icon={false}>
{t('gaps_patterns_page_description')}
</Alert>
</Space>
{startDate > endDate ? (
<Alert severity="error" variant="outlined" sx={{ bgcolor: '#feeaea' }}>
{t('bug_date_alert')}
Expand Down

0 comments on commit 8118f3c

Please sign in to comment.