Skip to content

Commit

Permalink
fix react hook deps
Browse files Browse the repository at this point in the history
  • Loading branch information
legrego committed Oct 29, 2019
1 parent 5e05bbd commit 9a9294e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const CopySavedObjectsToSpaceFlyout = (props: Props) => {
}),
});
});
}, []);
}, [spacesManager, toastNotifications]);
const eligibleSpaces = spaces.filter(space => space.id !== props.activeSpace.id);

const [copyInProgress, setCopyInProgress] = useState(false);
Expand Down

0 comments on commit 9a9294e

Please sign in to comment.