diff --git a/app/API/graphql_queries.js b/app/API/graphql_queries.js index 876b576e2..0a58fe95f 100644 --- a/app/API/graphql_queries.js +++ b/app/API/graphql_queries.js @@ -7,8 +7,7 @@ export const VideosQuery = gql` totalPages entries { hash_id: hashId - provider_id: providerId - provider + youtube_id: youtubeId title insertedAt isPartner diff --git a/app/components/FormUtils/StyledLabel.jsx b/app/components/FormUtils/StyledLabel.jsx new file mode 100644 index 000000000..57e3935a3 --- /dev/null +++ b/app/components/FormUtils/StyledLabel.jsx @@ -0,0 +1,10 @@ +import styled from 'styled-components' +import { fontSize, space } from 'styled-system' + +const StyledLabel = styled.label` + ${fontSize} + ${space} +` + +/** @component */ +export default StyledLabel diff --git a/app/components/Modal/Modal.jsx b/app/components/Modal/Modal.jsx index 8964b6baa..7c6e5f696 100644 --- a/app/components/Modal/Modal.jsx +++ b/app/components/Modal/Modal.jsx @@ -2,10 +2,21 @@ import React from 'react' import { connect } from 'react-redux' import { Link } from 'react-router' import classNames from 'classnames' +import styled from 'styled-components' + +import { TimesCircle } from 'styled-icons/fa-regular/TimesCircle.cjs' import { popModal } from '../../state/modals/reducer' import { Icon } from '../Utils/Icon' -import Button from '../Utils/Button' + +const CloseIcon = styled(TimesCircle)` + height: 1.5em; + width: 1.5em; + cursor: pointer; + &:hover { + opacity: 0.75; + } +` const Modal = ({ helpLink, @@ -35,7 +46,7 @@ const Modal = ({ )} -