Skip to content

Commit

Permalink
fix: make note component a proper Vue component for type safety
Browse files Browse the repository at this point in the history
  • Loading branch information
Destaq committed Nov 21, 2024
1 parent 9425129 commit 718dbd7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Notes/Note.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import { coursesColorSet } from '@/assets/constants/colors';
export default {
export default defineComponent({
name: 'Note',
props: {
initialTranslateY: { type: String, default: '-50px' },
Expand Down Expand Up @@ -77,7 +78,7 @@ export default {
this.isDirty = this.note !== this.initialNote;
},
},
};
});
</script>

<style scoped>
Expand Down

0 comments on commit 718dbd7

Please sign in to comment.