fix(ui): fix use all hotkey

This commit is contained in:
psychedelicious 2023-10-09 19:28:01 +11:00
parent ead754432a
commit 90083cc88d

View File

@ -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);