File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 11.certificateButton {
22 font-size : small;
3- margin-right : 32px ;
43 display : flex;
54 align-items : center;
65 justify-content : center;
Original file line number Diff line number Diff line change @@ -113,12 +113,6 @@ const EditorControls = ({
113113 outputResult : OutputResult ;
114114} ) => {
115115 const router = useRouter ( ) ;
116- const [ isTheTourCompletedState , setIsTheTourCompletedState ] = useState ( false ) ;
117-
118- useEffect ( ( ) => {
119- setIsTheTourCompletedState ( isTheTourCompleted ( ) ) ;
120- } , [ ] ) ;
121-
122116 return (
123117 < div className = { styles . buttonsWrapper } >
124118 < Flex dir = "row" gap = "8px" alignItems = "end" >
@@ -137,7 +131,7 @@ const EditorControls = ({
137131 Reset
138132 </ MyBtn >
139133 </ Flex >
140- { ! nextStepPath && isTheTourCompletedState ? (
134+ { ! nextStepPath ? (
141135 < CertificateButton />
142136 ) : (
143137 < MyBtn
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export default function OutlineDrawer({
4242 < DrawerOverlay />
4343 < DrawerContent >
4444 < DrawerCloseButton />
45- < DrawerHeader display = { "flex" } justifyContent = { "space-between" } >
45+ < DrawerHeader display = { "flex" } justifyContent = { "space-between" } paddingRight = { 12 } >
4646 Outline
4747 < CertificateButton />
4848 </ DrawerHeader >
You can’t perform that action at this time.
0 commit comments