Added a check for the current announcement being passed into the method to compare against the state and if it matches, append the string with a nobreak space
Added a check for the current announcement being passed into the method to compare against the state and if it matches, append the string with a nobreak space

thinkcompany/react-a11y-announcer