[Glitch] Update @react-spring/web to version 10
Port 1d75a8d27f to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
cde9c6e083
commit
93b18dfeaa
1 file changed
+3
-1
@@ -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