Merge branch 'abi:main' into main

This commit is contained in:
Amos Amissah 2023-12-22 17:38:17 +00:00 committed by GitHub
commit 99e1a944a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,7 +164,9 @@ function App() {
generateCode( generateCode(
wsRef, wsRef,
updatedParams, updatedParams,
// On change
(token) => setGeneratedCode((prev) => prev + token), (token) => setGeneratedCode((prev) => prev + token),
// On set code
(code) => { (code) => {
setGeneratedCode(code); setGeneratedCode(code);
if (params.generationType === "create") { if (params.generationType === "create") {