Skip to content

Commit

Permalink
Fix useEffect call again
Browse files Browse the repository at this point in the history
  • Loading branch information
bhackett1024 committed Dec 13, 2024
1 parent a1a7faf commit 8b26fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PerformanceMockup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function PerformanceMockup({ recordingId }: PerformanceMockupProp
if (!result) {
fetchPerformanceResult(recordingId).then(setResult);
}
});
}, [recordingId, result]);

if (!result) {
return <div className="Status">Loading...</div>;
Expand Down

0 comments on commit 8b26fc9

Please sign in to comment.