Skip to content

Commit

Permalink
chore: Minor code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Oct 5, 2024
1 parent 5e146d5 commit f1843e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/constants/internal/DefaultSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,6 @@ export const DefaultSettings: Settings = {
event: {
rcbPreInjectMessage: false,
rcbPostInjectMessage: false,
rcbPreLoadChatBot: false,
rcbPostLoadChatBot: false,
rcbStartStreamMessage: false,
rcbChunkStreamMessage: false,
rcbStopStreamMessage: false,
Expand All @@ -185,6 +183,8 @@ export const DefaultSettings: Settings = {
rcbUserSubmitText: false,
rcbUserUploadFile: false,
rcbTextAreaChangeValue: false,
rcbPreLoadChatBot: false,
rcbPostLoadChatBot: false,
},
ariaLabel: {
chatButton: "open chat",
Expand Down
4 changes: 2 additions & 2 deletions src/types/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ export type Settings = {
event?: {
rcbPreInjectMessage?: boolean;
rcbPostInjectMessage?: boolean;
rcbPreLoadChatBot?: boolean;
rcbPostLoadChatBot?: boolean;
rcbStartStreamMessage?: boolean;
rcbChunkStreamMessage?: boolean;
rcbStopStreamMessage?: boolean;
Expand All @@ -151,6 +149,8 @@ export type Settings = {
rcbUserSubmitText?: boolean;
rcbUserUploadFile?: boolean;
rcbTextAreaChangeValue?: boolean;
rcbPreLoadChatBot?: boolean;
rcbPostLoadChatBot?: boolean;
},
ariaLabel?: {
chatButton?: string;
Expand Down

0 comments on commit f1843e7

Please sign in to comment.