From ea229695e1b3232df0c58534ebb40b612e5abab0 Mon Sep 17 00:00:00 2001 From: Andrew Prifer <2991360+AndrewPrifer@users.noreply.github.com> Date: Tue, 22 Nov 2022 16:53:49 +0100 Subject: [PATCH] Fix project json export (#344) --- theatre/studio/src/panels/DetailPanel/ProjectDetails.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theatre/studio/src/panels/DetailPanel/ProjectDetails.tsx b/theatre/studio/src/panels/DetailPanel/ProjectDetails.tsx index 987fffc..3ca3cdd 100644 --- a/theatre/studio/src/panels/DetailPanel/ProjectDetails.tsx +++ b/theatre/studio/src/panels/DetailPanel/ProjectDetails.tsx @@ -60,7 +60,7 @@ const ProjectDetails: React.FC<{ setTimeout(() => { URL.revokeObjectURL(objUrl) }, 40000) - }, []) + }, [project, suggestedFileName]) const exportTooltip = usePopover( {debugName: 'ProjectDetails', pointerDistanceThreshold: 50},