Skip to content

Commit

Permalink
refactor(core/form/inputs): keep using schemaType var name
Browse files Browse the repository at this point in the history
  • Loading branch information
skogsmaskin committed Dec 20, 2022
1 parent ccdc0fd commit a65169b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -80,7 +80,7 @@ export function PortableTextInput(props: PortableTextInputProps) {
readOnly,
renderBlockActions,
renderCustomMarkers,
schemaType: type,
schemaType,
value,
elementProps,
} = props
Expand Down Expand Up @@ -338,7 +338,7 @@ export function PortableTextInput(props: PortableTextInputProps) {
onChange={handleEditorChange}
maxBlocks={undefined} // TODO: from schema?
readOnly={readOnly}
type={type}
type={schemaType} // TODO: rename to schemaType inside PortableTextEditor?
value={value}
>
<Compositor
Expand Down

0 comments on commit a65169b

Please sign in to comment.