Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd87a379

Browse files
committed
prevent multiple hints
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parent1ca3fa4 commitd87a379

File tree

1 file changed

+2
-1
lines changed
  • web-app/src/containers/Tutorial/components

1 file changed

+2
-1
lines changed

‎web-app/src/containers/Tutorial/components/Steps.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const Steps = (props: Props) => {
2525
if(!step){
2626
returnnull
2727
}
28+
2829
return(
2930
<divkey={step.id}>
3031
<Step
@@ -34,7 +35,7 @@ const Steps = (props: Props) => {
3435
content={step.content}
3536
subtasks={step.subtasks}
3637
/>
37-
<Hintshints={step.hints||[]}/>
38+
{['ACTIVE','COMPLETE'].includes(step.status)&&<Hintshints={step.hints||[]}/>}
3839
</div>
3940
)
4041
})}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp