Removed old ExternalLink component in favor of external one

This commit is contained in:
Alejandro Celaya
2020-01-15 18:16:12 +01:00
parent 7826000384
commit c90cd46095
10 changed files with 9 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
import React from 'react';
import { Modal, ModalBody, ModalFooter, ModalHeader } from 'reactstrap';
import PropTypes from 'prop-types';
import ExternalLink from '../../utils/ExternalLink';
import { ExternalLink } from 'react-external-link';
import { shortUrlTagsType } from '../reducers/shortUrlTags';
import { shortUrlType } from '../reducers/shortUrlsList';

View File

@@ -1,8 +1,8 @@
import React from 'react';
import { Modal, ModalBody, ModalHeader } from 'reactstrap';
import PropTypes from 'prop-types';
import { ExternalLink } from 'react-external-link';
import './PreviewModal.scss';
import ExternalLink from '../../utils/ExternalLink';
const propTypes = {
url: PropTypes.string,

View File

@@ -1,8 +1,8 @@
import React from 'react';
import { Modal, ModalBody, ModalHeader } from 'reactstrap';
import PropTypes from 'prop-types';
import { ExternalLink } from 'react-external-link';
import './QrCodeModal.scss';
import ExternalLink from '../../utils/ExternalLink';
const propTypes = {
url: PropTypes.string,

View File

@@ -2,9 +2,9 @@ import { isEmpty } from 'ramda';
import React from 'react';
import Moment from 'react-moment';
import PropTypes from 'prop-types';
import { ExternalLink } from 'react-external-link';
import { shortUrlsListParamsType } from '../reducers/shortUrlsListParams';
import { serverType } from '../../servers/prop-types';
import ExternalLink from '../../utils/ExternalLink';
import { shortUrlType } from '../reducers/shortUrlsList';
import Tag from '../../tags/helpers/Tag';
import ShortUrlVisitsCount from './ShortUrlVisitsCount';

View File

@@ -1,3 +0,0 @@
import { ExternalLink } from 'react-external-link';
export default ExternalLink;

View File

@@ -1,7 +1,7 @@
import { Card, UncontrolledTooltip } from 'reactstrap';
import Moment from 'react-moment';
import React from 'react';
import ExternalLink from '../utils/ExternalLink';
import { ExternalLink } from 'react-external-link';
import ShortUrlVisitsCount from '../short-urls/helpers/ShortUrlVisitsCount';
import { shortUrlDetailType } from './reducers/shortUrlDetail';
import './VisitsHeader.scss';