File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 26
26
"openai" : " ^4.47.1" ,
27
27
"prism-react-renderer" : " ^2.3.1" ,
28
28
"react" : " ^18.2.0" ,
29
- "react-chatbotify" : " ^2.0.0-beta.13 " ,
29
+ "react-chatbotify" : " ^2.0.0-beta.14 " ,
30
30
"react-dom" : " ^18.2.0" ,
31
31
"react-github-btn" : " ^1.4.0"
32
32
},
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ let getDefaultStyles = null;
13
13
let useAudio = null ;
14
14
let useNotifications = null ;
15
15
let useFlow = null ;
16
- let useToast = null ;
16
+ let useToasts = null ;
17
17
18
18
if ( ExecutionEnvironment . canUseDOM ) {
19
19
ChatBot = require ( "react-chatbotify" ) . default ;
@@ -25,7 +25,7 @@ if (ExecutionEnvironment.canUseDOM) {
25
25
useAudio,
26
26
useNotifications,
27
27
useFlow,
28
- useToast
28
+ useToasts
29
29
} = require ( "react-chatbotify" ) ;
30
30
ChatBotProvider = hooks . ChatBotProvider ;
31
31
Button = hooks . Button ;
@@ -34,7 +34,7 @@ if (ExecutionEnvironment.canUseDOM) {
34
34
useAudio = hooks . useAudio ;
35
35
useNotifications = hooks . useNotifications ;
36
36
useFlow = hooks . useFlow ;
37
- useToast = hooks . useToast ;
37
+ useToasts = hooks . useToasts ;
38
38
}
39
39
40
40
const ReactLiveScope = {
@@ -47,7 +47,7 @@ const ReactLiveScope = {
47
47
useAudio,
48
48
useNotifications,
49
49
useFlow,
50
- useToast ,
50
+ useToasts ,
51
51
GoogleGenerativeAI,
52
52
OpenAI
53
53
} ;
You can’t perform that action at this time.
0 commit comments