Skip to content

Commit

Permalink
fixed page goes blank issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jagadeeswaran-zipstack committed Feb 4, 2025
1 parent c3980ec commit 286828d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function DocumentParser({

return () => {
// Set the prompts with updated changes when the component is unmounted
const modifiedDetails = { ...details };
const modifiedDetails = useCustomToolStore.getState()?.details;
const modifiedPrompts = [...(modifiedDetails?.prompts || [])]?.map(
(item) => {
const itemPromptId = item?.prompt_id;
Expand Down

0 comments on commit 286828d

Please sign in to comment.