Skip to content

Commit

Permalink
use renderer and not the component with HOC
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiion committed Jun 10, 2024
1 parent eb4fc19 commit ccc0e28
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/exhibition-live/components/config/rendererRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import {
} from "@jsonforms/core";
import { JSONSchema7 } from "json-schema";
import { isEmpty } from "lodash";
import { withJsonFormsControlProps } from "@jsonforms/react";
import { MarkdownTextFieldRendererComponent } from "@slub/edb-markdown-renderer";
import { MarkdownTextFieldRenderer } from "@slub/edb-markdown-renderer";
import {
materialCustomAnyOfControlTester,
MaterialCustomAnyOfRenderer,
Expand Down Expand Up @@ -116,6 +115,6 @@ export const rendererRegistry: JsonFormsRendererRegistryEntry[] = [
},
{
tester: rankWith(10, scopeEndsWith("description")),
renderer: withJsonFormsControlProps(MarkdownTextFieldRendererComponent),
renderer: MarkdownTextFieldRenderer,
},
];

0 comments on commit ccc0e28

Please sign in to comment.