<commit_before><template>
  <div class="dropdown">
    <span>Contents</span>
    <nuxt-link
      v-for="section in sections"
      :key="section.id"
      :to="section.ref"
      :class="{
        selected: section.name === dropdownSelection,
        ellipsize: true
      }"
    >
      {{ section.name }}
    </nuxt-link>
  </div>
</template>

<script>
export default {
  props: {
    sections: {
      type: Array,
      required: true
    }
  },
  data: () => ({
    dropdownSelection: ''// TODO
  })
}
</script>

<style lang="scss" scoped>

</style><commit_msg>refactor: removed not needed 'dropdownSelection'<commit_after><template>
  <div class="dropdown">
    <span>Contents</span>
    <nuxt-link
      v-for="section in sections"
      :key="section.id"
      :to="section.ref"
      class="ellipsize"
    >
      {{ section.name }}
    </nuxt-link>
  </div>
</template>

<script>
export default {
  props: {
    sections: {
      type: Array,
      required: true
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
{'fraction_non_alphanumeric': 0.1702127659574468, 'fraction_numerical': 0.0, 'mean_word_length': 2.3934426229508197, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 28, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2405733', 'n_tokens_mistral': 361, 'n_tokens_neox': 356, 'n_words': 69}