Skip to content

Commit

Permalink
Merge pull request #502 from 0xsend/dev
Browse files Browse the repository at this point in the history
deploy
  • Loading branch information
0xBigBoss authored Jun 29, 2024
2 parents 8ef8303 + 511349f commit 20e5607
Show file tree
Hide file tree
Showing 32 changed files with 2,261 additions and 1,312 deletions.
4 changes: 1 addition & 3 deletions apps/next/pages/account/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ export const Page: NextPageWithLayout = () => {

export const getServerSideProps = userProtectedGetSSP()
Page.getLayout = (children) => (
<HomeLayout TopNav={<TopNav header="Account" button={ButtonOption.SETTINGS} />}>
{children}
</HomeLayout>
<HomeLayout TopNav={<TopNav header="Account" />}>{children}</HomeLayout>
)

export default Page
4 changes: 2 additions & 2 deletions apps/next/pages/deposit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const Page: NextPageWithLayout = () => {
return (
<>
<Head>
<title>Send | Desposit</title>
<title>Send | Deposit</title>
</Head>
<DepositScreen />
</>
Expand All @@ -19,7 +19,7 @@ export const Page: NextPageWithLayout = () => {
export const getServerSideProps = userProtectedGetSSP()

Page.getLayout = (children) => (
<HomeLayout TopNav={<TopNav header="Desposit" />}>{children}</HomeLayout>
<HomeLayout TopNav={<TopNav header="Deposit" />}>{children}</HomeLayout>
)

export default Page
6 changes: 5 additions & 1 deletion packages/app/__mocks__/solito/link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ import { View } from 'react-native'

const mockSolitoLink = {
__esModule: true,
default: jest.fn(),
useLink: jest.fn(),
Link: (props) => <View testID={'MockSolitoLink'} {...props} />,
}

module.exports = mockSolitoLink

export const useLink = mockSolitoLink.useLink
export const Link = mockSolitoLink.Link

export default mockSolitoLink
2 changes: 1 addition & 1 deletion packages/app/components/TopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export function TopNav({
const renderButton = () => {
switch (true) {
case button === undefined:
return <Button opacity={0} disabled />
return <Button opacity={0} disabled $gtMd={{ display: 'none' }} />
case selectedCoin !== undefined:
return (
<ButtonOg
Expand Down
Loading

0 comments on commit 20e5607

Please sign in to comment.