<template lang="pug">
  main
    header-blue
    b-container
      h2 List of commits
</template>

<script>
import HeaderBlue from '@/components/design/HeaderBlue';

export default {
  name: "Home",
  components: {
    'header-blue': HeaderBlue,
  },
  mounted() {
    this.$store.dispatch('get_commits');
  },
  computed: {
    commits: () => {
      return this.$store.get.commits;
    }
  }
}
</script>
