-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(uitkit): Menu height css (#5088)
* fix(uitkit): Menu height css * remove comment * fix(web): Add missing local packages * update snapshot
- Loading branch information
Showing
12 changed files
with
3,182 additions
and
2,517 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
import { Image, Swap } from '@pancakeswap/uikit' | ||
import { usePhishingBanner } from 'state/user/phishingBanner' | ||
import NoSSR from 'components/NoSSR' | ||
|
||
export const ExchangeLayout = ({ children }: React.PropsWithChildren) => { | ||
const [showPhishingBanner] = usePhishingBanner() | ||
|
||
return ( | ||
<NoSSR> | ||
<Swap.Page | ||
helpUrl="https://docs.pancakeswap.finance/get-started-aptos" | ||
isEvm={false} | ||
helpImage={<Image src="/help.png" width={178} height={243} />} | ||
hasWarningBanner={showPhishingBanner} | ||
> | ||
{children} | ||
</Swap.Page> | ||
</NoSSR> | ||
<Swap.Page | ||
helpUrl="https://docs.pancakeswap.finance/get-started-aptos" | ||
isEvm={false} | ||
helpImage={<Image src="/help.png" width={178} height={243} />} | ||
> | ||
{children} | ||
</Swap.Page> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
877117a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
aptos-web – ./apps/aptos
aptos.pancake.run
aptos-web-git-develop.pancake.run
aptos.pancakeswap.finance
aptos-web.pancake.run