Skip to content

Commit 874758c

Browse files
authored
fix: Fix a typo causing "Cannot read properties of undefined" error (higress-group#570)
1 parent 8186b4b commit 874758c

File tree

1 file changed

+1
-1
lines changed
  • frontend/src/pages/ai/components/ProviderForm

1 file changed

+1
-1
lines changed

frontend/src/pages/ai/components/ProviderForm/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const ProviderForm: React.FC = forwardRef((props: { value: any }, ref) => {
6969
rawConfigs.openaiCustomUrls.push(...rawConfigs.openaiExtraCustomUrls);
7070
}
7171
}
72-
if (rawConfigs.openaiCustomUrl.length === 0) {
72+
if (rawConfigs.openaiCustomUrls.length === 0) {
7373
rawConfigs.openaiCustomUrls.push('');
7474
}
7575

0 commit comments

Comments
 (0)