We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 218afa8 commit e731508Copy full SHA for e731508
src/blocks/tweet.vue
@@ -7,7 +7,7 @@ const props = defineProps({ ...defineNotionProps })
7
//@ts-ignore
8
const { properties } = useNotionBlock(props)
9
10
-const tweetId = computed(() => properties.value?.source?.[0]?.[0].split("status/")?.[1])
+const tweetId = computed(() => properties.value?.source?.[0]?.[0].split("status/")?.[1].split("?")[0])
11
const el = ref<HTMLElement>()
12
const error = ref()
13
0 commit comments