Skip to content

Commit 201ab81

Browse files
committed
fix: add stopPropagation for learn more link in plugin list
1 parent 3b956ba commit 201ab81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Shared/Components/Plugin/PluginCard.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Checkbox, CHECKBOX_VALUE } from '../../../Common'
1+
import { Checkbox, CHECKBOX_VALUE, stopPropagation } from '../../../Common'
22
import PluginImageContainer from './PluginImageContainer'
33
import PluginTagsContainer from './PluginTagsContainer'
44
import { PluginCardProps } from './types'
@@ -74,6 +74,7 @@ const PluginCard = ({
7474
className="anchor fs-12 fw-6 lh-20"
7575
target="_blank"
7676
rel="noopener noreferrer"
77+
onClick={stopPropagation}
7778
>
7879
Learn more
7980
</a>

0 commit comments

Comments
 (0)