diff --git a/src/components/editor/port.tsx b/src/components/editor/port.tsx index dea2ede..c3c8775 100644 --- a/src/components/editor/port.tsx +++ b/src/components/editor/port.tsx @@ -29,7 +29,7 @@ const EditorPort: FunctionComponent = memo(function WrappedPort({ id={ port.id } position={ handlePositionByPortDirection[port.direction] } data-c74-type={ port.type } - data-c74-name={ (alias || port.id).replace(/\((capture|playback)_[0-9+]\)/, "") } + data-c74-name={ (alias || port.id.replace(/\((capture|playback)_[0-9+]\)/, "")) } type={ handleTypeByPortDirection[port.direction] } style={{ top: `${offset}%` }} />