[Glitch] fix(deps): update dependency @react-spring/web to v10
Port feb4e0a00758e0ea00579df53e02586a52350dd0 to glitch-soc Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: ChaosExAnima <ChaosExAnima@users.noreply.github.com> Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
c046ac5f07
commit
30cde6c34d
@ -24,7 +24,9 @@ export const HotkeyIndicator: React.FC<{
|
|||||||
enter: [{ opacity: 1 }],
|
enter: [{ opacity: 1 }],
|
||||||
leave: [{ opacity: 0 }],
|
leave: [{ opacity: 0 }],
|
||||||
onRest: (_result, _ctrl, item) => {
|
onRest: (_result, _ctrl, item) => {
|
||||||
onDismiss(item);
|
if (item) {
|
||||||
|
onDismiss(item);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user