Sign out

signout users

const signoutButton = document.querySelector('.signout')
signoutButton.addEventListener('click', () => {
	signOut(auth)
		.then(() => {
			console.log('the user signed out')
			unsubBooks()
			unsubBook()
			unsubAuth()
		})
		.catch(error => {
			console.log(error.message)
		})
})