Skip to content

Commit

Permalink
fix: Avoid unnecessary local translate function
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Aug 10, 2023
1 parent 0e0358c commit 2315e9e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/nodes/Heading/HeadingView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@
</template>

<script>
import Vue from 'vue'
import { NodeViewWrapper, NodeViewContent } from '@tiptap/vue-2'
import { useEditorMixin } from '../../components/Editor.provider.js'
export default Vue.extend({
export default {
name: 'HeadingView',
components: {
NodeViewWrapper,
Expand Down Expand Up @@ -72,7 +71,6 @@ export default Vue.extend({
linkSymbol() {
return this.extension.options.linkSymbol
},
t: () => window.t,
},
methods: {
Expand All @@ -81,7 +79,7 @@ export default Vue.extend({
window.location.hash = this.href
},
},
})
}
</script>

<style lang="scss">
Expand Down

0 comments on commit 2315e9e

Please sign in to comment.