chore(tabs): simplify code for displaying loading spinners