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 14, 2023
1 parent 0b18c5a commit 4ff0ce7
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 4ff0ce7

Please sign in to comment.