mirror of
https://github.com/System-End/site.git
synced 2026-04-19 19:45:07 +00:00
Merge pull request #1329 from kcoderhtml/patch-2
bug: switch edit link from a div to "a"
This commit is contained in:
commit
7275d4e6c0
1 changed files with 3 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue