<template>
  <span></span>
</template>

<script>
export default {
  // #warning Laravel Echo has been manually disabled until broadcasting issue is fixed.
  // async mounted() {
  //   this.$echo
  //     .channel('updates')
  //     .listen(`.updated-user-${this.$auth.user.id}`, async (e) => {
  //       await this.$auth.fetchUser()

  //       this.$notifier.showMessage({
  //         content: 'Notification received',
  //         color: 'success',
  //         icon: 'icon-message',
  //       })
  //     })

  //   this.$echo
  //     .channel('updates')
  //     .listen(`.products-catalog-updated`, async (e) => {
  //       await this.$store.dispatch('learning/pullProducts')

  //       this.$notifier.showMessage({
  //         content: 'Products Catalog updated',
  //         color: 'success',
  //         icon: 'icon-message',
  //       })
  //     })
  // },
}
</script>
