Skip to content

Commit

Permalink
Staging Release
Browse files Browse the repository at this point in the history
Staging Release
  • Loading branch information
tcheee authored Nov 8, 2024
2 parents 4fc4e31 + f6b1a02 commit bed5d7c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 20 deletions.
6 changes: 3 additions & 3 deletions src/components/Blog/BlogCarousel/CarouselContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export const CarouselContainer = ({
<Box>
<CarouselHeader>
{title && <CarouselTitle variant="headerMedium">{title}</CarouselTitle>}
{Array.isArray(children) && children?.length > 1 && (
<CarouselNavigationContainer hide={children?.length < 1}>
{
<CarouselNavigationContainer>
<CarouselNavigationButton
aria-label="previous"
onClick={() => handleChange('prev')}
Expand All @@ -88,7 +88,7 @@ export const CarouselContainer = ({
<ArrowForwardIcon sx={{ width: '22px', height: '22px' }} />
</CarouselNavigationButton>
</CarouselNavigationContainer>
)}
}
</CarouselHeader>
<CarouselContainerBox ref={carouselContainerRef} sx={styles}>
{children}
Expand Down
32 changes: 16 additions & 16 deletions src/components/Menus/MainMenu/useMainMenuContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,22 +144,22 @@ export const useMainMenuContent = () => {
});
},
},
// {
// label: 'Solana Washtrade',
// prefixIcon: <LocalLaundryServiceIcon />,
// showMoreIcon: false,
// link: { url: JUMPER_WASH_PATH },
// onClick: () => {
// trackEvent({
// category: TrackingCategory.Menu,
// label: 'click-wash-trade-link',
// action: 'action_click_wash_trade_link',
// data: { [TrackingEventParameter.Menu]: 'wash' },
// });
// closeAllMenus();
// router.push(JUMPER_WASH_PATH);
// },
// },
{
label: 'Solana Washtrade',
prefixIcon: <LocalLaundryServiceIcon />,
showMoreIcon: false,
link: { url: JUMPER_WASH_PATH },
onClick: () => {
trackEvent({
category: TrackingCategory.Menu,
label: 'click-wash-trade-link',
action: 'action_click_wash_trade_link',
data: { [TrackingEventParameter.Menu]: 'wash' },
});
closeAllMenus();
router.push(JUMPER_WASH_PATH);
},
},
{
label: t('navbar.navbarMenu.profile'),
prefixIcon: <AccountCircleIcon />,
Expand Down
2 changes: 1 addition & 1 deletion src/wash/common/about/AboutRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function AboutRouter(): ReactElement {
if (!account.isConnected) {
return (
<Button
title={'Connect wallet'}
title={'Connect your solana wallet'}
theme={'pink'}
size={'long'}
onClick={async () => {
Expand Down
1 change: 1 addition & 0 deletions src/wash/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const widgetConfig: WidgetConfig = {
fromChain: 1151111081099710, //Solana
toChain: 1151111081099710, //Solana
hiddenUI: ['poweredBy', 'language', 'appearance'],
slippage: 0.02,
sdkConfig: {
apiUrl: process.env.NEXT_PUBLIC_LIFI_API_URL,
routeOptions: {
Expand Down

0 comments on commit bed5d7c

Please sign in to comment.