Skip to content

Commit

Permalink
feat: export AcceptTermsModalProps
Browse files Browse the repository at this point in the history
  • Loading branch information
alx-khramov committed Nov 10, 2023
1 parent a9487be commit 3d49f68
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Terms, WalletModalConnectTermsProps } from '../../Terms';
import { CommonButtonsContainer } from '../styles';
import { useReefKnotContext } from '@reef-knot/core-react';

interface Props {
export interface AcceptTermsModalProps {
open: boolean;
termsProps: WalletModalConnectTermsProps;
termsChecked: boolean;
Expand All @@ -33,7 +33,7 @@ export const AcceptTermsModal = ({
termsChecked,
onContinue,
error,
}: Props) => {
}: AcceptTermsModalProps) => {
const { chains: supportedChains } = useReefKnotContext();
let errorMessage = error?.message;
if (error && error.name == 'UnsupportedChainIdError') {
Expand Down

0 comments on commit 3d49f68

Please sign in to comment.