this ended up working for me:
/**
* Runs after a review has been created.
* @return void
*/
add_filter('site-reviews/enqueue/public/inline-script/after', function () {
return "GLSR.Event.on('site-reviews/form/handle', (data) => {
window.location.reload();
})";
});