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 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])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user