refact(project-heading): comment unused code

This commit is contained in:
Daniel Klein 2024-09-12 11:56:48 +02:00
parent 83facaf232
commit e219638b5f

View file

@ -5,13 +5,13 @@ const props = defineProps<{
project: Project project: Project
}>() }>()
const availableSupport = computed(() => { // const availableSupport = computed(() => {
const filteredKeys = ['forum', 'discord', 'twitter', 'lens', 'farcaster', 'telegram'] // const filteredKeys = ['forum', 'discord', 'twitter', 'lens', 'farcaster', 'telegram']
if (typeof props.project.links === 'object' && (props.project.links !== null || props.project.links !== undefined)) // if (typeof props.project.links === 'object' && (props.project.links !== null || props.project.links !== undefined))
return Object.keys(props.project.links).filter(key => filteredKeys.includes(key)).length // return Object.keys(props.project.links).filter(key => filteredKeys.includes(key)).length
return 0 // return 0
}) // })
/** /**
* From data points * From data points