@trackunit/react-form-wizard 0.1.100 → 0.1.102
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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -350,7 +350,7 @@ const cvaStepContainer = cssClassVarianceUtilities.cvaMerge(["h-full", "grid", "
|
|
|
350
350
|
*/
|
|
351
351
|
const FormWizard = ({ lastStepPrimaryActionLabel, isEdit, steps, fullFormSchema, onCancel, className, dataTestId, basePath, }) => {
|
|
352
352
|
var _a;
|
|
353
|
-
const { stepPath, subStepPath } = reactRouter.useParams({
|
|
353
|
+
const { stepPath, subStepPath } = reactRouter.useParams({ strict: false });
|
|
354
354
|
const [stepStates, setStepStates] = react.useState({});
|
|
355
355
|
const [stepForms, setStepForms] = react.useState({});
|
|
356
356
|
const [fullFormState, setFullFormState] = react.useState(
|
package/index.esm.js
CHANGED
|
@@ -346,7 +346,7 @@ const cvaStepContainer = cvaMerge(["h-full", "grid", "bg-white", "overflow-hidde
|
|
|
346
346
|
*/
|
|
347
347
|
const FormWizard = ({ lastStepPrimaryActionLabel, isEdit, steps, fullFormSchema, onCancel, className, dataTestId, basePath, }) => {
|
|
348
348
|
var _a;
|
|
349
|
-
const { stepPath, subStepPath } = useParams({
|
|
349
|
+
const { stepPath, subStepPath } = useParams({ strict: false });
|
|
350
350
|
const [stepStates, setStepStates] = useState({});
|
|
351
351
|
const [stepForms, setStepForms] = useState({});
|
|
352
352
|
const [fullFormState, setFullFormState] = useState(
|