Skip to content

Commit 9f23bdc

Browse files
corwintineswackerowpettinarip
committed
Change requests
Co-authored-by: Corwin Smith <[email protected]> Co-authored-by: Paul Wackerow <[email protected]> Co-authored-by: Pablo Pettinari <[email protected]>
1 parent d08e2d0 commit 9f23bdc

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

src/components/Simulator/NotificationPopover.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export const NotificationPopover: React.FC<IProps> = ({
2727
return (
2828
<Popover placement={placement}>
2929
<PopoverTrigger>{children}</PopoverTrigger>
30-
<Portal>
3130
<PopoverContent
3231
bg="background.highlight"
3332
px={4}
@@ -46,7 +45,6 @@ export const NotificationPopover: React.FC<IProps> = ({
4645
</Flex>
4746
<PopoverBody>{content}</PopoverBody>
4847
</PopoverContent>
49-
</Portal>
5048
</Popover>
5149
)
5250
}

src/components/Simulator/WalletHome/hooks/useNFT.tsx

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/components/Simulator/screens/ConnectWeb3/index.tsx

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,23 @@ import type { PhoneScreenProps } from "../../interfaces"
2020
import { NotificationPopover } from "../../NotificationPopover"
2121
import { ProgressCta } from "../../ProgressCta"
2222
import { WalletHome } from "../../WalletHome"
23-
import { useNFT } from "../../WalletHome/hooks/useNFT"
2423
import type { TokenBalance } from "../../WalletHome/interfaces"
2524

2625
import { Browser } from "./Browser"
2726
import { EXAMPLE_APP_URL } from "./constants"
2827
import { Slider } from "./Slider"
2928
import { Web3App } from "./Web3App"
3029

30+
import NFTImage from "@/public/deep-panic.png"
31+
3132
export const ConnectWeb3: React.FC<PhoneScreenProps> = ({ nav, ctaLabel }) => {
3233
const { progressStepper, step } = nav
33-
const NFTs = useNFT()
34+
const NFTs = [
35+
{
36+
title: "Cool art",
37+
image: NFTImage,
38+
},
39+
]
3440
const fetchedPrice = useEthPrice()
3541
const ethPrice = fetchedPrice > 1 ? fetchedPrice : FALLBACK_ETH_PRICE
3642
const tokensWithEthBalance = useMemo<Array<TokenBalance>>(
@@ -47,7 +53,12 @@ export const ConnectWeb3: React.FC<PhoneScreenProps> = ({ nav, ctaLabel }) => {
4753
[ethPrice]
4854
)
4955
const [activeTabIndex, setActiveTabIndex] = useState(1)
50-
const nfts = useNFT()
56+
const nfts = [
57+
{
58+
title: "Cool art",
59+
image: NFTImage,
60+
},
61+
]
5162
const fadeInProps = {
5263
initial: { opacity: 0 },
5364
animate: { opacity: 1 },

src/data/WalletSimulatorData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export const walletOnboardingSimData: SimulatorData = {
222222
</Text>
223223
<Text>
224224
Let&apos;s first look at how to receive ether (ETH),
225-
Ethereum&amp;apos;s native currency.
225+
Ethereum&apos;s native currency.
226226
</Text>
227227
<Text>
228228
Click the &quot;Receive&quot; button to see how to receive funds.

src/pages/wallets/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ const guides = [
207207
},
208208
]
209209

210+
type Props = SSRConfig & {
211+
lastDeployDate: string
212+
}
210213
export const getStaticProps = (async (context) => {
211214
const { locale } = context
212215
const lastDeployDate = getLastDeployDate()
@@ -220,7 +223,7 @@ export const getStaticProps = (async (context) => {
220223
lastDeployDate,
221224
},
222225
}
223-
}) satisfies GetStaticProps<SSRConfig>
226+
}) satisfies GetStaticProps<Props>
224227

225228
const WalletsPage = () => {
226229
const { locale } = useRouter()

0 commit comments

Comments
 (0)