diff options
author | bobzel <zzzman@gmail.com> | 2025-03-06 16:17:47 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-03-06 16:17:47 -0500 |
commit | 5ad858090f3006631062877d90120e3cc505fada (patch) | |
tree | 9f87a8e1e7098a1025f6f4aac332dbc854db5be3 /src/client/views/nodes/imageEditor/ImageEditorButtons.tsx | |
parent | 9c2a7c14fd9d0e44609aab30c6323583162009db (diff) | |
parent | adaa107aac8558fa6f46e6ba1263c650c212d506 (diff) |
Merge branch 'master' into aarav_edit
Diffstat (limited to 'src/client/views/nodes/imageEditor/ImageEditorButtons.tsx')
-rw-r--r-- | src/client/views/nodes/imageEditor/ImageEditorButtons.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/imageEditor/ImageEditorButtons.tsx b/src/client/views/nodes/imageEditor/ImageEditorButtons.tsx index 985dc914f..3eaa251f2 100644 --- a/src/client/views/nodes/imageEditor/ImageEditorButtons.tsx +++ b/src/client/views/nodes/imageEditor/ImageEditorButtons.tsx @@ -53,10 +53,10 @@ export function ApplyFuncButtons({ loading, onClick: getEdit, onReset, btnText } export function ImageToolButton(tool: ImageEditTool, isActive: boolean, selectTool: (type: ImageToolType) => void) { return ( - <div key={tool.name} className="imageEditorButtonContainer"> + <div key={tool.type} className="imageEditorButtonContainer"> <Button style={{ width: '100%' }} - text={tool.name} + text={tool.type} type={Type.TERT} color={isActive ? SettingsManager.userVariantColor : bgColor} icon={<FontAwesomeIcon icon={tool.icon} />} |