Skip to content

Commit f26d65d

Browse files
committed
Endpoint
1 parent ce71e0f commit f26d65d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/CodeEditor/CodeEditor.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,13 @@ const CodeEditor: React.FC<CodeEditorInterface> & CodeEditorComposition = React.
221221
format: true,
222222
schemas:[
223223
{
224-
uri: `https://github.com/devtron-labs/devtron/tree/main/scripts/devtron-reference-helm-charts/reference-chart_${chartVersion}`, // id of the first schema
224+
uri: `https://github.com/devtron-labs/devtron/tree/main/scripts/devtron-reference-helm-charts/reference-chart_${chartVersion}/schema.json`, // id of the first schema
225225
fileMatch: ['*'], // associate with our model
226226
schema: validatorSchema,
227227
}]
228228
});
229229
// eslint-disable-next-line react-hooks/exhaustive-deps
230230
}, [validatorSchema, chartVersion]);
231-
232231
useEffect(() => {
233232
if (!editorRef.current) return
234233
editorRef.current.updateOptions({ readOnly })

0 commit comments

Comments
 (0)