bug: switch edit link from a div to "a"

This commit is contained in:
Kieran Klukas 2024-08-21 12:02:49 -04:00 committed by GitHub
parent 74db72d843
commit f368bd4756
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,10 +77,10 @@ const CohortCard = ({
gap: '5px'
}}
>
<div
as="a"
<a
href={editLink}
sx={{
display: block,
color: 'white',
bg: '#09AFB4',
borderRadius: '10px',
@ -93,7 +93,7 @@ const CohortCard = ({
}}
>
<Icon glyph="edit" />{' '}
</div>
</a>
<div
onClick={e => {
modalRef.current?.showModal()