diff --git a/src/components/Snippet/OutputSnippet/StringSnippetBlock/StringBufferSnippet/StringBufferSnippet.tsx b/src/components/Snippet/OutputSnippet/StringSnippetBlock/StringBufferSnippet/StringBufferSnippet.tsx index 4b9332c..e6c4bdb 100644 --- a/src/components/Snippet/OutputSnippet/StringSnippetBlock/StringBufferSnippet/StringBufferSnippet.tsx +++ b/src/components/Snippet/OutputSnippet/StringSnippetBlock/StringBufferSnippet/StringBufferSnippet.tsx @@ -11,7 +11,7 @@ export interface StringBufferSnippetProps { export default class StringBufferSnippet extends Component { public render(): ReactNode { const { controlIdentifier, output } = this.props; - const methodName = Snippet.snakeToCamelCase(`${controlIdentifier}_Buffer`); + const methodName = Snippet.snakeToCamelCase(`${controlIdentifier}${output.suffix}_Buffer`); const callbackMethodName = Snippet.snakeToCamelCase(`on_${controlIdentifier}_change`); return (