@obosbbl/grunnmuren-react 1.14.2-beta.0 → 1.14.2-beta.1

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.
@@ -12,7 +12,7 @@ export declare function useFormStepContext<FormStepData extends FieldValues>(for
12
12
  previousFormStep: () => Promise<void>;
13
13
  nextFormStep: () => void;
14
14
  submitAndNextFormStep: (formValues: FormStepData) => Promise<void>;
15
- setFormData: (formValues: FormStepData) => Promise<void>;
15
+ setFormData: (formValues: FormStepData) => void;
16
16
  formData: any;
17
17
  };
18
18
  export declare function FormStepProvider({ children }: {
@@ -648,7 +648,7 @@ function Xe(e) {
648
648
  const [r, t] = A(Q), n = N(async () => {
649
649
  t({ type: "PREV_STEP" });
650
650
  }, [t]), a = N(
651
- async (d) => {
651
+ (d) => {
652
652
  t({
653
653
  type: "SET_FORM_STEP_DATA",
654
654
  formId: `form${e}`,
@@ -660,7 +660,7 @@ function Xe(e) {
660
660
  t({ type: "NEXT_STEP" });
661
661
  }, [t]), i = N(
662
662
  async (d) => {
663
- await a(d), s();
663
+ a(d), s();
664
664
  },
665
665
  [s, a]
666
666
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obosbbl/grunnmuren-react",
3
- "version": "1.14.2-beta.0",
3
+ "version": "1.14.2-beta.1",
4
4
  "description": "OBOS Grunnmuren design system React components",
5
5
  "license": "MIT",
6
6
  "repository": {