fix: onboarding links
This commit is contained in:
parent
77561bfd90
commit
1545638040
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ import stl from './featureItem.css';
|
|||
const FeatureItem = ({ label, completed = false, subText, onClick }) => {
|
||||
return (
|
||||
<div
|
||||
className={ cn(stl.wrapper, { [stl.activeLink]: onClick, [stl.completed]: !completed }) }
|
||||
className={ cn(stl.wrapper, stl.activeLink, { [stl.completed]: completed }) }
|
||||
onClick={onClick && onClick}
|
||||
>
|
||||
<div className={ cn("h-6 w-6 flex-shrink-0 rounded-full flex items-center justify-center", { 'bg-white' : !completed, 'bg-teal' : completed })}>
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ class OnboardingExplore extends React.PureComponent {
|
|||
key={ task.task }
|
||||
label={ task.task }
|
||||
completed={ task.done }
|
||||
onClick={task.URL && (() => this.onClick(task)) }
|
||||
onClick={() => this.onClick(task) }
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue