Skip to content

Commit

Permalink
feat: WalletConenct Beta warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dianasavvatina committed Jan 13, 2025
1 parent fe19226 commit c257b07
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion apps/web/src/components/WalletConnect/SessionProposalModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { type SessionTypes, type Verify } from "@walletconnect/types";
import { buildApprovedNamespaces, getSdkError } from "@walletconnect/utils";
import { FormProvider, useForm } from "react-hook-form";

import { CheckmarkIcon, CloseIcon } from "../../assets/icons";
import { AlertTriangleIcon, CheckmarkIcon, CloseIcon } from "../../assets/icons";
import { OwnedImplicitAccountsAutocomplete } from "../AddressAutocomplete";
import { ProjectInfoCard } from "./ProjectInfoCard";
import { VerifyInfobox } from "./VerifyInfobox";
Expand Down Expand Up @@ -102,6 +102,18 @@ export const SessionProposalModal = ({
<ModalBody>
<Card>
<ProjectInfoCard metadata={proposal.params.proposer.metadata} />
<VStack margin="auto" spacing="16px">
<HStack
margin="auto"
padding="8px"
border="1px solid"
borderColor="yellow.500"
borderRadius="md"
>
<Icon as={AlertTriangleIcon} verticalAlign="bottom" />
<Card marginLeft="8px">Beta version. Use with caution.</Card>
</HStack>
</VStack>
<VerifyInfobox isScam={isScam} validationStatus={validationStatus} />
<Divider />
<Box marginBottom="16px" fontSize="xl" fontWeight="semibold">
Expand Down

0 comments on commit c257b07

Please sign in to comment.