refer this documentation you will get proper output
https://filamentphp.com/content/tim-wassenburg-how-to-customize-logout-redirect