Skip to content

Commit

Permalink
🐛 String value breaking schema validation for repo type
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 committed Sep 28, 2023
1 parent 84ffaca commit 72e2be3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export const AnalysisWizard: React.FC<IAnalysisWizard> = ({
hasExcludedPackages: false,
associatedCredentials: "",
rulesKind: "manual",
repositoryType: "",
repositoryType: undefined,
sourceRepository: "",
branch: "",
rootPath: "",
Expand Down Expand Up @@ -389,7 +389,7 @@ export const AnalysisWizard: React.FC<IAnalysisWizard> = ({
<Review applications={applications} mode={mode} />
</WizardStep>,
];

console.log("values errors", values, methods.formState.errors);
return (
<>
{isOpen && (
Expand Down

0 comments on commit 72e2be3

Please sign in to comment.