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 1
1
.certificateButton {
2
2
font-size : small;
3
- margin-right : 32px ;
4
3
display : flex;
5
4
align-items : center;
6
5
justify-content : center;
Original file line number Diff line number Diff line change @@ -113,12 +113,6 @@ const EditorControls = ({
113
113
outputResult : OutputResult ;
114
114
} ) => {
115
115
const router = useRouter ( ) ;
116
- const [ isTheTourCompletedState , setIsTheTourCompletedState ] = useState ( false ) ;
117
-
118
- useEffect ( ( ) => {
119
- setIsTheTourCompletedState ( isTheTourCompleted ( ) ) ;
120
- } , [ ] ) ;
121
-
122
116
return (
123
117
< div className = { styles . buttonsWrapper } >
124
118
< Flex dir = "row" gap = "8px" alignItems = "end" >
@@ -137,7 +131,7 @@ const EditorControls = ({
137
131
Reset
138
132
</ MyBtn >
139
133
</ Flex >
140
- { ! nextStepPath && isTheTourCompletedState ? (
134
+ { ! nextStepPath ? (
141
135
< CertificateButton />
142
136
) : (
143
137
< MyBtn
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export default function OutlineDrawer({
42
42
< DrawerOverlay />
43
43
< DrawerContent >
44
44
< DrawerCloseButton />
45
- < DrawerHeader display = { "flex" } justifyContent = { "space-between" } >
45
+ < DrawerHeader display = { "flex" } justifyContent = { "space-between" } paddingRight = { 12 } >
46
46
Outline
47
47
< CertificateButton />
48
48
</ DrawerHeader >
You can’t perform that action at this time.
0 commit comments