Skip to content

Commit

Permalink
style: remove hyper link
Browse files Browse the repository at this point in the history
  • Loading branch information
KatyH820 committed Apr 18, 2024
1 parent c2f4e4a commit 13fa95c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/RegisterGuestModal/RegisterGuestModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
Checkbox,
Grid,
GridItem,
Link,
useDisclosure,
Text,
InputGroup,
Expand Down Expand Up @@ -60,7 +59,7 @@ const RegisterGuestModal = ({ isOpen, onClose, eventId }) => {

const {
isOpen: isAgreementOpen,
onOpen: onAgreementOpen,
// onOpen: onAgreementOpen,
onClose: onAgreementClose,
} = useDisclosure();

Expand Down Expand Up @@ -314,10 +313,7 @@ const RegisterGuestModal = ({ isOpen, onClose, eventId }) => {
}))
}
>
I agree to the{' '}
<Link color="#003FE3" onClick={onAgreementOpen}>
terms and conditions
</Link>
I agree to the terms and conditions
</Checkbox>
{errors.waiver && <Text color="red">{errors.waiver.message}</Text>}
</GridItem>
Expand Down

0 comments on commit 13fa95c

Please sign in to comment.