Skip to content

Commit

Permalink
fix: onramp image (#11207)
Browse files Browse the repository at this point in the history
<!--
Before opening a pull request, please read the [contributing
guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md)
first
-->


<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `OnRampProviderLogo` component in the
`OnRampProviderLogo.tsx` file by modifying the imported components and
enhancing the functionality related to images.

### Detailed summary
- Replaced the import of `Image` from `next/image` with a direct import
of `Image` from `@pancakeswap/uikit`.
- Added the `Image` component to the imports, indicating a potential
change in how images are handled in the component.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
  • Loading branch information
ChefJerry authored Feb 14, 2025
1 parent cbe496f commit f4d036f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import type { Token } from '@pancakeswap/swap-sdk-core'
import { Box, Skeleton, TokenPairImage } from '@pancakeswap/uikit'
import { Box, Image, Skeleton, TokenPairImage } from '@pancakeswap/uikit'
import { FiatLogo } from 'components/Logo/CurrencyLogo'
import { getImageUrlFromToken } from 'components/TokenImage'
import { ASSET_CDN } from 'config/constants/endpoints'
import Image from 'next/image'
import { ONRAMP_PROVIDERS, PROVIDER_ICONS, isNativeBtc } from 'views/BuyCrypto/constants'
import { OnRampIconCircleWrapper, OnRampIconContainer } from 'views/BuyCrypto/styles'

Expand Down

0 comments on commit f4d036f

Please sign in to comment.