mirror of
https://github.com/web3privacy/explorer-app.git
synced 2024-10-15 16:46:26 +02:00
refact(project-heading): comment unused code
This commit is contained in:
parent
83facaf232
commit
e219638b5f
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue