feat: remove PropTypes helper from ProjectInfo
This commit is contained in:
parent
b4e9d9437e
commit
8ad7e7c905
@ -25,12 +25,9 @@ import {computed} from 'vue'
|
||||
import DOMPurify from 'dompurify'
|
||||
import {useProjectStore} from '@/stores/projects'
|
||||
|
||||
const props = defineProps({
|
||||
projectId: {
|
||||
type: Number,
|
||||
required: true,
|
||||
},
|
||||
})
|
||||
const props = defineProps<{
|
||||
projectId: number
|
||||
}>()
|
||||
|
||||
const projectStore = useProjectStore()
|
||||
const project = computed(() => projectStore.projects[props.projectId])
|
||||
|
Loading…
x
Reference in New Issue
Block a user