fix(gatsby): Pass search/hash to location after swUpdated (#32323)
fix(gatsby): Pass search/hash to location after swUpdated (#32323)

Co-authored-by: David E Disch <0e4f02933222619629c5e59da2eb093089572f54@gmail.com>
Co-authored-by: Fraser Solomon <41b70dbfb6affdc1e6f7c25b212e5bd436064cba@users.noreply.github.com>
Co-authored-by: LekoArts <074ba1c0efc36927866875b17be4fa06eb80e472@gmail.com>
gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby