Skip to content

Commit

Permalink
fix: update schema reference (#382)
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Ferdman <[email protected]>
  • Loading branch information
emmanuel-ferdman authored Nov 1, 2024
1 parent bcf9675 commit d56f33f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/otelbin/src/components/monaco-editor/schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$id": "https://github.com/dash0hq/otelbin/blob/main/src/components/monaco-editor/schema.json",
"$id": "https://github.com/dash0hq/otelbin/blob/main/packages/otelbin/src/components/monaco-editor/schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "otel",
"type": "object",
Expand Down
2 changes: 1 addition & 1 deletion packages/otelbin/src/contexts/EditorContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const EditorProvider = ({ children }: { children: ReactNode }) => {
enableSchemaRequest: true,
schemas: [
{
uri: "https://github.com/dash0hq/otelbin/blob/main/src/components/monaco-editor/schema.json",
uri: "https://github.com/dash0hq/otelbin/blob/main/packages/otelbin/src/components/monaco-editor/schema.json",
// @ts-expect-error TypeScript can’t narrow down the type of JSON imports
schema,
fileMatch: ["*"],
Expand Down

0 comments on commit d56f33f

Please sign in to comment.