Hi I have an error in Vuex
11:17 error 'state' is defined but never used no-unused-vars
I can't find anything about this and here is the code
import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);
export const store = new Vuex.Store({
  state: {
    count: 0,
  },
  getters: {
    increment: (state) => this.state.count++,
  },
});
<template>
  <div>
    {{ this.$store.state.count }}
    <button @click="increment">increment</button>
  </div>
</template>
<script>
export default {
  data() {
    return {
    };
  },
  methods: {
    increment() {
      this.$store.getters.increment;
    },
  },
};
</script>