From 934a4dc60777f9997b42a836a82c0f0f8c20f453 Mon Sep 17 00:00:00 2001 From: Stephanie Closson Date: Fri, 22 Sep 2023 13:49:45 -0300 Subject: [PATCH] forgot a quote --- src/divPanelChild.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/divPanelChild.tsx b/src/divPanelChild.tsx index b156bc6..b0d718e 100644 --- a/src/divPanelChild.tsx +++ b/src/divPanelChild.tsx @@ -19,7 +19,7 @@ export class DivPanelChild extends Component { shouldComponentUpdate = (prevProps: DivPanelChildProps, prevState: State): boolean => { const truth = - ((typeof prevProps !== "undefined" && typeof this.props !== "undefined) && + ((typeof prevProps !== "undefined" && typeof this.props !== "undefined") && (JSON.stringify(prevProps) !== JSON.stringify(this.props))) || prevProps.data.state === 'Done' || prevProps.data.state === 'Streaming';