aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/imageEditor/ImageEditorButtons.tsx
diff options
context:
space:
mode:
authorA.J. Shulman <Shulman.aj@gmail.com>2025-02-24 16:10:29 -0500
committerA.J. Shulman <Shulman.aj@gmail.com>2025-02-24 16:10:29 -0500
commit7b0bd66a0ad22b5a5cb17e76e811b59c6c7ca729 (patch)
tree7ee37b74c8ba511ac59160f9b11f251861faab1d /src/client/views/nodes/imageEditor/ImageEditorButtons.tsx
parenta26c670b49a8631779869baf493135a59b92f523 (diff)
parent383a8a2f017c12c578537d3cb3005e00be019bd7 (diff)
Merge branch 'master' into ajs-finalagent
Diffstat (limited to 'src/client/views/nodes/imageEditor/ImageEditorButtons.tsx')
-rw-r--r--src/client/views/nodes/imageEditor/ImageEditorButtons.tsx4
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} />}