Skip to content

Commit

Permalink
Remove incorrect error toast on successful poll (#96159)
Browse files Browse the repository at this point in the history
  • Loading branch information
Constance authored Apr 2, 2021
1 parent a0828c6 commit c97c518
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,6 @@ export const ApiLogsLogic = kea<MakeLogicType<ApiLogsValues, ApiLogsActions>>({
// while polls are stored in-state until the user manually triggers the 'Refresh' action
if (isPoll) {
actions.onPollInterval(response);
flashErrorToast(POLLING_ERROR_TITLE, {
text: POLLING_ERROR_TEXT,
toastLifeTimeMs: POLLING_DURATION * 0.75,
});
} else {
actions.updateView(response);
}
Expand Down

0 comments on commit c97c518

Please sign in to comment.