Web: Files: EmbeddingPanel: fixed onChangeHeight
This commit is contained in:
parent
876bc05116
commit
ca0b76b46a
@ -199,7 +199,7 @@ const EmbeddingPanelComponent = (props: EmbeddingPanelProps) => {
|
||||
const onChangeHeight = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||
setHeightValue(e.target.value);
|
||||
setConfig((config) => {
|
||||
return { ...config, width: `${e.target.value}${heightDimension.label}` };
|
||||
return { ...config, height: `${e.target.value}${heightDimension.label}` };
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user