diff --git a/front/components/assistant_builder/AssistantBuilderPreviewDrawer.tsx b/front/components/assistant_builder/AssistantBuilderPreviewDrawer.tsx index 6a142d92b9b7c..901f3f7464aa6 100644 --- a/front/components/assistant_builder/AssistantBuilderPreviewDrawer.tsx +++ b/front/components/assistant_builder/AssistantBuilderPreviewDrawer.tsx @@ -163,7 +163,7 @@ export default function AssistantBuilderRightPanel({ "animate-reload": shouldAnimatePreviewDrawer && rightPanelStatus.tab === "Preview" && - rightPanelStatus.openedAt != null && + rightPanelStatus.openedAt !== null && Date.now() - rightPanelStatus.openedAt > 1000, } )}