We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 076076f commit 4a79f5eCopy full SHA for 4a79f5e
app/components/CodeEditor/CodeEditor.tsx
@@ -114,7 +114,7 @@ const EditorControls = ({
114
}) => {
115
const router = useRouter();
116
const [isTheTourCompletedState, setIsTheTourCompletedState] = useState(false);
117
-
+
118
useEffect(() => {
119
setIsTheTourCompletedState(isTheTourCompleted());
120
}, []);
@@ -138,9 +138,7 @@ const EditorControls = ({
138
</MyBtn>
139
</Flex>
140
{!nextStepPath || isTheTourCompletedState ? (
141
- <>
142
- <CertificateButton />
143
- </>
+ <CertificateButton />
144
) : (
145
<MyBtn
146
onClick={() => router.push("/" + nextStepPath)}
0 commit comments