mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-13 13:38:15 -05:00
Update @react-spring/web to version 10 (#39556)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user