l-min-components 1.7.1559 → 1.7.1561

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.7.1559",
3
+ "version": "1.7.1561",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -260,39 +260,35 @@ const ReportQuestions = ({
260
260
  <InfoIcon2 />
261
261
  </ScoreHeader>
262
262
  <QuestionNav>
263
- <>
264
- {navControl?.on ? (
265
- <>
266
- {" "}
267
- <button
268
- disabled={navControl.disablePrev}
269
- onClick={navControl.onPrev}
270
- >
271
- <NavBack disabled={navControl.disablePrev} />
272
- {findText("Previous question")}
273
- </button>
274
- <button
275
- disabled={navControl.disableNext}
276
- onClick={navControl.onNext}
277
- >
278
- {findText("Next question")}
279
- <NavForword disabled={navControl.disableNext} />
280
- </button>{" "}
281
- </>
282
- ) : (
283
- <>
284
- {" "}
285
- <button disabled={!prevId} onClick={handlePrev}>
286
- <NavBack disabled={!prevId} />
287
- {findText("Previous question")}
288
- </button>
289
- <button disabled={!nextId} onClick={handleNext}>
290
- {findText("Next question")}
291
- <NavForword disabled={!nextId} />
292
- </button>
293
- </>
294
- )}
295
- </>
263
+ {navControl?.on ? (
264
+ <>
265
+ <button
266
+ disabled={navControl.disablePrev}
267
+ onClick={navControl.onPrev}
268
+ >
269
+ <NavBack disabled={navControl.disablePrev} />
270
+ {findText("Previous question")}
271
+ </button>
272
+ <button
273
+ disabled={navControl.disableNext}
274
+ onClick={navControl.onNext}
275
+ >
276
+ {findText("Next question")}
277
+ <NavForword disabled={navControl.disableNext} />
278
+ </button>
279
+ </>
280
+ ) : (
281
+ <>
282
+ <button disabled={!prevId} onClick={handlePrev}>
283
+ <NavBack disabled={!prevId} />
284
+ {findText("Previous question")}
285
+ </button>
286
+ <button disabled={!nextId} onClick={handleNext}>
287
+ {findText("Next question")}
288
+ <NavForword disabled={!nextId} />
289
+ </button>
290
+ </>
291
+ )}
296
292
  </QuestionNav>
297
293
  </ScoreHeaderContainer>
298
294
  {/* {data && !hasAnswer && <ErrorHeader />} */}