Skip to content

Commit

Permalink
fix: removing commented out code []
Browse files Browse the repository at this point in the history
  • Loading branch information
aodhagan-cf committed Oct 23, 2023
1 parent 07f6353 commit 95c90cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/live-preview-sdk/src/rest/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ async function updateRef(
: updateFromEntryEditor.sys.id;

// If the ID of the updateFromEntryEditor is in visitedReferences, then stop the recursion
// if (visitedReferences.has(updateFromEntryEditor.sys.id)) {
if (visitedReferenceMap.has(id)) {
debug.warn('Detected a circular reference, stopping recursion');
reference = visitedReferenceMap.get(id);
Expand Down

0 comments on commit 95c90cc

Please sign in to comment.