ui: tweak

This commit is contained in:
cha0s 2021-01-31 00:22:33 -06:00
parent aa5a4e4c97
commit 20630d1629

View File

@ -238,12 +238,12 @@ const Expression = ({
Renderables.push( Renderables.push(
<Key <Key
childrenDescription={{ childrenDescription={{
'.': {label: '', type: description.type}, '': {label: '', type: description.type},
'≔': {label: '', type: 'void'}, '≔': {label: '', type: 'void'},
}} }}
key={opPath} key={opPath}
onChange={(event, value) => { onChange={(event, value) => {
if ('.' === value) { if ('' === value) {
patch({ patch({
op: 'remove', op: 'remove',
path: opPath, path: opPath,
@ -259,7 +259,7 @@ const Expression = ({
} }
}} }}
path={opPath} path={opPath}
value={expressionValue ? '≔' : '.'} value={expressionValue ? '≔' : ''}
/>, />,
); );
if (expressionValue) { if (expressionValue) {