Changed to pass in url via props.