Skip to content

Commit 13b0d5d

Browse files
committed
fix: correct git provider reference in MaterialForm URL validation
1 parent ec132f1 commit 13b0d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/material/MaterialForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const MaterialForm = ({
178178
material
179179
? {
180180
gitProvider: isGitProviderValid(material.gitProvider),
181-
url: isGitUrlValid(material.url, formMaterial.gitProvider?.id),
181+
url: isGitUrlValid(material.url, material.gitProvider?.id),
182182
checkoutPath: isCheckoutPathValid(material.checkoutPath),
183183
}
184184
: {

0 commit comments

Comments
 (0)