Skip to content

Commit

Permalink
Add network select (#6)
Browse files Browse the repository at this point in the history
* fix test

* rm pages

* add selects
  • Loading branch information
julienbrg authored Nov 25, 2024
1 parent 4d94652 commit 62f5029
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 982 deletions.
5 changes: 2 additions & 3 deletions src/__tests__/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import '@testing-library/jest-dom'
import Home from '@/pages/index'

describe('Home page', () => {
it('renders the mint button', () => {
it('shows connect wallet message', () => {
render(<Home />)
const button = screen.getByRole('button', { name: /mint/i })
expect(button).toBeInTheDocument()
expect(screen.getByText(/Please connect your wallet/i)).toBeInTheDocument()
})
})
4 changes: 2 additions & 2 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function Header(props: Props) {
</LinkComponent>

<Spacer />
<Menu>
{/* <Menu>
<MenuButton as={IconButton} aria-label="Options" icon={<HamburgerIcon />} size={'sm'} mr={4} />
<MenuList>
<LinkComponent href="/eth-op" invisible>
Expand All @@ -58,7 +58,7 @@ export function Header(props: Props) {
<MenuItem fontSize="md">Sepolia to Base Sepolia</MenuItem>
</LinkComponent>
</MenuList>
</Menu>
</Menu> */}
<Flex alignItems="center" gap={4}>
<w3m-button />
<Flex alignItems="center">
Expand Down
322 changes: 0 additions & 322 deletions src/pages/eth-arb/index.tsx

This file was deleted.

Loading

0 comments on commit 62f5029

Please sign in to comment.