From e8c909e35c3d0626f074893b2868d2d65912e0ce Mon Sep 17 00:00:00 2001 From: Thibaut SABOT <9283289+thibautsabot@users.noreply.github.com> Date: Thu, 23 Jan 2020 17:28:05 +0100 Subject: [PATCH] Don't use translated value for shortcut (#526) --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index b091426b..3395ff46 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -506,7 +506,7 @@ export class App extends React.Component { checked={this.state.elementType === value} name="editor-current-shape" title={`${capitalizeString(label)} — ${ - capitalizeString(label)[0] + capitalizeString(value)[0] }, ${index + 1}`} onChange={() => { this.setState({ elementType: value });