Skip to content

Commit

Permalink
chore: disable tron in network selector and remove odd margins around…
Browse files Browse the repository at this point in the history
… trade header
  • Loading branch information
matthewlilley committed Sep 30, 2024
1 parent 88cf5f2 commit cc6425a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 21 deletions.
4 changes: 0 additions & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"heybourn.headwind",
"bradlc.vscode-tailwindcss",
"NomicFoundation.hardhat-solidity",
"VisualStudioExptTeam.vscodeintellicode",
"wix.vscode-import-cost",
"GraphQL.vscode-graphql",
"bierner.markdown-mermaid",
"biomejs.biome"
]
}
6 changes: 3 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"name": "Next.js: debug server-side",
"type": "node-terminal",
"request": "launch",
"cwd": "${workspaceFolder}/apps/web",
"command": "npm run dev"
"command": "pnpm exec turbo run dev --filter web",
"cwd": "${workspaceFolder}/apps/web"
},
{
"name": "Next.js: debug client-side",
Expand All @@ -18,8 +18,8 @@
"name": "Next.js: debug full stack",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}/apps/web",
"program": "${workspaceFolder}/node_modules/.bin/next",
"cwd": "${workspaceFolder}/apps/web",
"runtimeArgs": ["--inspect"],
"skipFiles": ["<node_internals>/**"],
"serverReadyAction": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { typographyVariants } from '@sushiswap/ui'

export const SimpleSwapHeader = () => {
return (
<div className="flex flex-col items-start gap-2 mb-11 sm:mt-10 mt-2">
<div className="flex flex-col items-start gap-2">
<h1 className={typographyVariants({ variant: 'h1' })}>Trade</h1>
</div>
)
Expand Down
3 changes: 1 addition & 2 deletions apps/web/src/app/(non-evm)/tron/swap/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ export default function SwapSimplePage() {
return (
<Container maxWidth="lg" className="px-4">
<div className="flex flex-col gap-4">
<div />
<div className="flex flex-col items-start gap-2 mb-11 sm:mt-10 mt-2">
<div className="flex flex-col items-start gap-2">
<h1 className={typographyVariants({ variant: 'h1' })}>Trade</h1>
</div>
<div className="flex items-center justify-between">
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/network-selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const NetworkSelector = <T extends number>({
{showNonEvm ? (
<>
<Aptos />
<Tron />
{/* <Tron /> */}
</>
) : null}
{_networks
Expand Down
16 changes: 6 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cc6425a

Please sign in to comment.