Skip to content

Commit 4a79f5e

Browse files
committed
remove the fragmments
1 parent 076076f commit 4a79f5e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/components/CodeEditor/CodeEditor.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const EditorControls = ({
114114
}) => {
115115
const router = useRouter();
116116
const [isTheTourCompletedState, setIsTheTourCompletedState] = useState(false);
117-
117+
118118
useEffect(() => {
119119
setIsTheTourCompletedState(isTheTourCompleted());
120120
}, []);
@@ -138,9 +138,7 @@ const EditorControls = ({
138138
</MyBtn>
139139
</Flex>
140140
{!nextStepPath || isTheTourCompletedState ? (
141-
<>
142-
<CertificateButton />
143-
</>
141+
<CertificateButton />
144142
) : (
145143
<MyBtn
146144
onClick={() => router.push("/" + nextStepPath)}

0 commit comments

Comments
 (0)