Skip to content

Commit

Permalink
Add Sub banner
Browse files Browse the repository at this point in the history
  • Loading branch information
olehmell committed Nov 29, 2023
1 parent 8ee604c commit e8dd099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/utils/PageContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const PageContainer: FC<PageContainerProps> = ({ children, isHomePage }) => {
{!isValid && !isServerSide && asPath !== '/' && !asPath.includes('#')
? <NoData description='Address is not valid' />
: <>
{false && banner}
{isHomePage && banner}
<AccountInfo
addresses={addresses}
addressFromStorage={addressFromStorage}
Expand Down
2 changes: 1 addition & 1 deletion src/components/utils/banners/PromoBanner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const BannerSection = () => {
}

const PromoBanner = () => {
const href = 'https://app.hydradx.io/trade/swap?assetIn=5&assetOut=24'
const href = 'https://docs.subsocial.network/docs/tutorials/get-sub'
const sendEvent = useBuildSendEvent('promo_banner_clicked')

return <Link href={href} legacyBehavior>
Expand Down

0 comments on commit e8dd099

Please sign in to comment.