Skip to content

Commit e731508

Browse files
committed
fix tweets
1 parent 218afa8 commit e731508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blocks/tweet.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const props = defineProps({ ...defineNotionProps })
77
//@ts-ignore
88
const { properties } = useNotionBlock(props)
99
10-
const tweetId = computed(() => properties.value?.source?.[0]?.[0].split("status/")?.[1])
10+
const tweetId = computed(() => properties.value?.source?.[0]?.[0].split("status/")?.[1].split("?")[0])
1111
const el = ref<HTMLElement>()
1212
const error = ref()
1313

0 commit comments

Comments
 (0)