Skip to content

Commit

Permalink
Merge pull request #137 from P4-Games/fix/rename
Browse files Browse the repository at this point in the history
renamed components
  • Loading branch information
dappsar authored Nov 17, 2023
2 parents d9450a5 + 4080c9e commit 929d227
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { hasCard } from '../../services/gamma'
import { useLayoutContext } from '../../hooks'
import { checkInputAddress } from '../../utils/addresses'

const GammaInfoCard = React.forwardRef((props, book) => {
const GammaCardInfo = React.forwardRef((props, book) => {
const { imageNumber, handleFinishInfoCard } = props
const {t} = useTranslation()
const { size, startLoading, stopLoading } = useLayoutContext()
Expand Down Expand Up @@ -347,10 +347,10 @@ const GammaInfoCard = React.forwardRef((props, book) => {
)
})

GammaInfoCard.propTypes = {
GammaCardInfo.propTypes = {
imageNumber: PropTypes.number,
handleFinishInfoCard: PropTypes.func
}

export default GammaInfoCard
export default GammaCardInfo

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { AiOutlineCloseCircle } from 'react-icons/ai'
import PackFiguritas from '../../utils/PackFiguritas'
import { storageUrlGamma } from '../../config'

const GammaPack = ({ setPackIsOpen, openPackage, setOpenPackage, cardsNumbers, loaderPack }) => {
const GammaPackOpen = ({ setPackIsOpen, openPackage, setOpenPackage, cardsNumbers, loaderPack }) => {
const starshineRef = useRef(null)
const templateRef = useRef(null)

Expand Down Expand Up @@ -83,12 +83,12 @@ const GammaPack = ({ setPackIsOpen, openPackage, setOpenPackage, cardsNumbers, l
)
}

GammaPack.propTypes = {
GammaPackOpen.propTypes = {
setPackIsOpen: PropTypes.func,
openPackage: PropTypes.bool,
setOpenPackage: PropTypes.func,
cardsNumbers: PropTypes.array,
loaderPack: PropTypes.bool
}

export default GammaPack
export default GammaPackOpen

0 comments on commit 929d227

Please sign in to comment.