Skip to content

Commit

Permalink
fix theopenconversationkit#168: add missing locale dependency to send…
Browse files Browse the repository at this point in the history
…Message callback
  • Loading branch information
Fabilin committed Jul 15, 2024
1 parent 1487322 commit eee59a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/useTock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ const useTock: (
.then(handlePostBotResponse)
.finally(stopLoading);
},
[],
[locale],
);

const sendReferralParameter: (referralParameter: string) => Promise<void> =
Expand Down

0 comments on commit eee59a1

Please sign in to comment.