remix-validated-form 5.1.4-beta.3 → 5.1.5

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js CHANGED
@@ -1121,7 +1121,7 @@ var useDefaultValuesFromLoader = ({
1121
1121
  const match = matches.reverse().find(
1122
1122
  (match2) => match2.data && typeof match2.data === "object" && dataKey in match2.data
1123
1123
  );
1124
- return (match == null ? void 0 : match.data)[dataKey];
1124
+ return match == null ? void 0 : match.data[dataKey];
1125
1125
  }
1126
1126
  return null;
1127
1127
  };