export default (state: boolean) => { document.body.classList.toggle('loading', state) }