File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/shared/src/services/submitPrompt/utils Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import {CallbackFunction} from '../../../types/callbackFunction';
3
3
const isHighPerfJsEngine = navigator ?. userAgent ?. includes ( 'Safari' ) ;
4
4
5
5
// TODO: To be replaced with a pure React implementation for submitPrompt that relies on React rendering cycle
6
- const defaultAsyncDelay : 1 | 10 = isHighPerfJsEngine ? 10 : 1 ; // Efficient async scheduling for Safari
6
+ const defaultAsyncDelay : 1 | 100 = isHighPerfJsEngine ? 100 : 1 ; // Efficient async scheduling for Safari
7
7
8
8
export const triggerAsyncCallback = ( trigger : CallbackFunction , delay : number = defaultAsyncDelay ) => {
9
9
setTimeout ( ( ) => {
Original file line number Diff line number Diff line change 1
1
{
2
2
"inherit" : true ,
3
- "nlux" : " 2.16.0 " ,
3
+ "nlux" : " 2.16.1 " ,
4
4
"peerDependencies" : {
5
5
"react" : " 18" ,
6
6
"react-dom" : " 18"
You can’t perform that action at this time.
0 commit comments