removes toasts when location doesn't change anything in routes