@vizzly/dashboard 0.15.0-dev-3d599f1049eba812c1f45d1985540f920617733b → 0.15.0-dev-0618e6a45c18ec7cb9032ac19523c62e7bdeccaf

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.
@@ -67791,10 +67791,11 @@ function useGoalLine(initialGoalLine, onAddingGoalLine) {
67791
67791
  });
67792
67792
  }
67793
67793
  var isDisabled$2 = function isDisabled(state) {
67794
- var _goalLineSchema$valid = goalLineSchema().validate(state),
67794
+ var _goalLineSchema$valid = goalLineSchema().validate(state, {
67795
+ presence: 'required'
67796
+ }),
67795
67797
  error = _goalLineSchema$valid.error;
67796
- if (error) return true;
67797
- return false;
67798
+ return !!error;
67798
67799
  };
67799
67800
 
67800
67801
  var GoalLineModal = function GoalLineModal(props) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vizzly/dashboard",
3
3
  "author": "james@vizzly.co",
4
- "version": "0.15.0-dev-3d599f1049eba812c1f45d1985540f920617733b",
4
+ "version": "0.15.0-dev-0618e6a45c18ec7cb9032ac19523c62e7bdeccaf",
5
5
  "source": "src/index.tsx",
6
6
  "types": "./dist/dashboard/src/index.d.ts",
7
7
  "module": "./dist/dashboard.esm.js",