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

Commit107470b

Browse files
committed
hide continue button if modal open
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parent6c56678 commit107470b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,11 @@ const Continue = (props: Props) => {
4747

4848
return(
4949
<>
50-
<Buttontype="primary"size="medium"onClick={onOpen}>
51-
Continue
52-
</Button>
50+
{modalState==='closed' ?(
51+
<Buttontype="primary"size="medium"onClick={onOpen}>
52+
Continue
53+
</Button>
54+
) :null}
5355
<Dialog
5456
title={isComplete ?'Tutorial Complete!' :'Level Complete!'}
5557
visible={modalState==='open'}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp