diff --git a/invokeai/frontend/web/src/features/gallery/components/CurrentImage/CurrentImageButtons.tsx b/invokeai/frontend/web/src/features/gallery/components/CurrentImage/CurrentImageButtons.tsx index 32f03eb6c0..57f06a0cea 100644 --- a/invokeai/frontend/web/src/features/gallery/components/CurrentImage/CurrentImageButtons.tsx +++ b/invokeai/frontend/web/src/features/gallery/components/CurrentImage/CurrentImageButtons.tsx @@ -134,13 +134,7 @@ const CurrentImageButtons = () => { recallAllParameters(metadata); }, [metadata, recallAllParameters]); - useHotkeys( - 'a', - () => { - handleClickUseAllParameters; - }, - [metadata, recallAllParameters] - ); + useHotkeys('a', handleClickUseAllParameters, [metadata]); const handleUseSeed = useCallback(() => { recallSeed(metadata?.seed);