feat: remove props destructuring from ProjectCard
This commit is contained in:
parent
516f507ac4
commit
8a2c74a702
@ -61,13 +61,11 @@ import {useProjectBackground} from './useProjectBackground'
|
||||
import {useProjectStore} from '@/stores/projects'
|
||||
import {getProjectTitle} from '@/helpers/getProjectTitle'
|
||||
|
||||
const {
|
||||
project,
|
||||
} = defineProps<{
|
||||
const props = defineProps<{
|
||||
project: IProject,
|
||||
}>()
|
||||
|
||||
const {background, blurHashUrl} = useProjectBackground(project)
|
||||
const {background, blurHashUrl} = useProjectBackground(() => props.project)
|
||||
|
||||
const projectStore = useProjectStore()
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user