Skip to content

Commit

Permalink
fix: spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
Eghinner committed Jun 16, 2022
1 parent 4b60066 commit 7f79b05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
File renamed without changes
6 changes: 3 additions & 3 deletions src/components/Modal/Modal.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useEffect } from 'react';
import PropTypes from 'prop-types'
import imgBusqueda from '../../assets/img_busqueda.png'
import { InfoContainer, ModalButton, ModalContainer, Overlay, ImgBusqueda } from './Modal.styled'
import imgSearch from '../../assets/img_search.png'
import { InfoContainer, ModalButton, ModalContainer, Overlay, ImgSearch } from './Modal.styled'

const Modal = ({
children,
Expand All @@ -26,7 +26,7 @@ const Modal = ({
{isOpen && (
<Overlay>
<ModalContainer>
{SearchIcon && <ImgBusqueda src={imgBusqueda} alt="img_busqueda" />}
{SearchIcon && <ImgSearch src={imgSearch} alt="img_search" />}
<InfoContainer>{children}</InfoContainer>
{actionText && (<ModalButton onClick={handleClick}>{actionText}</ModalButton>)}
</ModalContainer>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modal/Modal.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const ModalButton = styled.button`
line-height: 24px;
font-family: 'Poppins', sans-serif;
`
export const ImgBusqueda = styled.img`
export const ImgSearch = styled.img`
object-fit: cover;
width: 357px;
z-index: -1;
Expand Down

0 comments on commit 7f79b05

Please sign in to comment.