fix(deps): update dependency @react-spring/web to v10 (#34693)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: ChaosExAnima <ChaosExAnima@users.noreply.github.com>
This commit is contained in:
parent
24551375cf
commit
feb4e0a007
3 changed files with 45 additions and 43 deletions
|
@ -24,7 +24,9 @@ export const HotkeyIndicator: React.FC<{
|
|||
enter: [{ opacity: 1 }],
|
||||
leave: [{ opacity: 0 }],
|
||||
onRest: (_result, _ctrl, item) => {
|
||||
onDismiss(item);
|
||||
if (item) {
|
||||
onDismiss(item);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue