Skip to content

Commit

Permalink
fix button warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavomm19 committed Dec 27, 2024
1 parent f7eefb9 commit be79cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js_modules/Cohort/CohortModules.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ function CohortModules({ cohort, modules, mainCohort, certificate, openByDefault
<AccordionItem background={colorVariations[colorMode].mode5} borderRadius="8px" padding="16px" border={`1px solid ${cohortColor}`}>
{({ isExpanded }) => (
<>
<AccordionButton ref={containerRef} position="relative" cursor={cohortProgress?.isCohortStarted ? 'pointer' : 'auto'} _hover={{ background: 'none' }} padding="0" flexDirection="column" alignItems="flex-start" gap="9px">
<AccordionButton as="div" ref={containerRef} position="relative" cursor={cohortProgress?.isCohortStarted ? 'pointer' : 'auto'} _hover={{ background: 'none' }} padding="0" flexDirection="column" alignItems="flex-start" gap="9px">
<Box display="flex" justifyContent="space-between" width="100%" gap="10px">
<Box display="flex" textAlign="left" gap="10px" alignItems="center" width="100%">
<Box display="flex" gap="10px" alignItems="center" minWidth="fit-content">
Expand Down

0 comments on commit be79cbf

Please sign in to comment.