Update @react-spring/web to version 10 (#39556)
This commit is contained in:
1 parent
0c7d619b98
commit
1d75a8d27f
4 files changed
+47
-47
No files matched your search
@@ -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