1
0

feat: remove PropTypes helper from ProjectInfo

This commit is contained in:
Dominik Pschenitschni 2024-07-06 13:19:40 +02:00 committed by konrad
parent b4e9d9437e
commit 8ad7e7c905

View File

@ -25,12 +25,9 @@ import {computed} from 'vue'
import DOMPurify from 'dompurify' import DOMPurify from 'dompurify'
import {useProjectStore} from '@/stores/projects' import {useProjectStore} from '@/stores/projects'
const props = defineProps({ const props = defineProps<{
projectId: { projectId: number
type: Number, }>()
required: true,
},
})
const projectStore = useProjectStore() const projectStore = useProjectStore()
const project = computed(() => projectStore.projects[props.projectId]) const project = computed(() => projectStore.projects[props.projectId])