Skip to content

Commit

Permalink
remove crontab guru link (apache#12467)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lily Kuang authored and amitmiran137 committed Jan 14, 2021
1 parent bf0ebfa commit 50310c8
Showing 1 changed file with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,13 @@
* under the License.
*/
import React, { useState, useCallback, useRef, FunctionComponent } from 'react';
import { styled, t, useTheme } from '@superset-ui/core';
import { t, useTheme } from '@superset-ui/core';

import { Input, AntdInput } from 'src/common/components';
import { Radio } from 'src/common/components/Radio';
import { CronPicker, CronError } from 'src/common/components/CronPicker';
import { StyledInputContainer } from '../AlertReportModal';

const HelperText = styled.div`
display: block;
color: ${({ theme }) => theme.colors.grayscale.base};
font-size: ${({ theme }) => theme.typography.sizes.s - 1}px;
text-align: left;
`;
interface AlertReportCronSchedulerProps {
value: string;
onChange: (change: string) => any;
Expand Down Expand Up @@ -92,17 +86,6 @@ export const AlertReportCronScheduler: FunctionComponent<AlertReportCronSchedule
</div>
</StyledInputContainer>
</div>
<HelperText>
{t('Refer to the ')}
<a
href="https://crontab.guru/"
target="_blank"
rel="noopener noreferrer"
>
{t('crontab guru')}
</a>
{t(' for more information on how to structure your CRON schedule.')}
</HelperText>
</Radio.Group>
</>
);
Expand Down

0 comments on commit 50310c8

Please sign in to comment.