From e219638b5f79029c459d4955c3d9551d88bb93bd Mon Sep 17 00:00:00 2001 From: Daniel Klein Date: Thu, 12 Sep 2024 11:56:48 +0200 Subject: [PATCH] refact(project-heading): comment unused code --- components/Project/ProjectHeading.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/Project/ProjectHeading.vue b/components/Project/ProjectHeading.vue index 7806f2e..771a922 100644 --- a/components/Project/ProjectHeading.vue +++ b/components/Project/ProjectHeading.vue @@ -5,13 +5,13 @@ const props = defineProps<{ project: Project }>() -const availableSupport = computed(() => { - const filteredKeys = ['forum', 'discord', 'twitter', 'lens', 'farcaster', 'telegram'] - 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 +// const availableSupport = computed(() => { +// const filteredKeys = ['forum', 'discord', 'twitter', 'lens', 'farcaster', 'telegram'] +// 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 0 -}) +// return 0 +// }) /** * From data points