Skip to content

Commit 8885c61

Browse files
committed
fix: minor ui fixes in build
1 parent 4de426d commit 8885c61

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

ui_components/ShareLinkPage.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { FC, useContext, useEffect, useMemo, useState } from "react";
1919
import { toast } from "react-toastify";
2020
import { ToastContainer } from "react-toastify";
2121
import { parseEther } from "viem";
22+
import "tailwindcss/tailwind.css";
2223

2324
import {
2425
getBalance,
@@ -213,7 +214,7 @@ const ShareLink: FC<IShareLink> = (props) => {
213214
const ethersProvider = new ethers.providers.JsonRpcProvider(
214215
BaseGoerli.info.rpc,
215216
);
216-
const relayPack = new GelatoRelayPack(process.env.NEXT_GELATO_RELAY_API_KEY);
217+
const relayPack = new GelatoRelayPack(process.env.NEXT_PUBLIC_GELATO_RELAY_API_KEY);
217218

218219
// from signer address
219220
const fromSigner = new ethers.Wallet(fromKey.key, ethersProvider);

ui_components/loadchest/LoadChestComponent.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export const LoadChestComponent: FC<ILoadChestComponent> = (props) => {
167167
setChestLoadingText("Safe contract created");
168168

169169
if (loggedInVia === LOGGED_IN.GOOGLE) {
170-
const relayPack = new GelatoRelayPack(process.env.NEXT_GELATO_RELAY_API_KEY);
170+
const relayPack = new GelatoRelayPack(process.env.NEXT_PUBLIC_GELATO_RELAY_API_KEY);
171171
setChestLoadingText(
172172
"Initializing account abstraction for transaction relay",
173173
);
@@ -322,7 +322,7 @@ export const LoadChestComponent: FC<ILoadChestComponent> = (props) => {
322322
<div className="rounded-lg border border-white/40 bg-white/5 ">
323323
<div className="flex items-center justify-between py-2 px-4">
324324
<div>
325-
<p className="text-white/40 paragraph">
325+
<p className="text-[#798593] paragraph">
326326
YOUR BALANCE
327327
</p>
328328
<div className="flex items-start gap-3 my-2">
@@ -466,7 +466,7 @@ export const LoadChestComponent: FC<ILoadChestComponent> = (props) => {
466466
btnDisable={btnDisable || !value}
467467
/>
468468
<SecondaryBtn
469-
className={`w-[45%] lg:w-[185px] max-w-[185px] mx-0 ${
469+
className={`w-[45%] lg:w-[185px] text-[#CEDDE0] max-w-[185px] mx-0 ${
470470
btnDisable || !value
471471
? "cursor-not-allowed"
472472
: ""
@@ -484,8 +484,8 @@ export const LoadChestComponent: FC<ILoadChestComponent> = (props) => {
484484
<ReactTyped
485485
className="text-white text-[24px]"
486486
strings={[chestLoadingText]}
487-
typeSpeed={30}
488-
loop
487+
typeSpeed={40}
488+
loop={false}
489489
/>
490490
<Lottie animationData={loaderAnimation} />
491491
</div>

ui_components/loadchest/ProfileCard.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { GlobalContext } from "../../context/GlobalContext";
88
import { trimAddress } from "../../utils";
99
import { icons } from "../../utils/images";
1010
import QrModal from "../QrModal";
11+
import "tailwindcss/tailwind.css";
1112

1213
export interface IProfileCard {
1314
profileImage?: string;

0 commit comments

Comments
 (0)