We were using the same code in two places, so we're extracting the code into a component in order to share it.