mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-09 08:29:30 -06:00
SEO, images, cleanup
This commit is contained in:
@@ -60,7 +60,6 @@ const splitterRef = ref<GSAPSplitText | null>(null)
|
||||
const initializeAnimation = async () => {
|
||||
if (typeof window === 'undefined' || !textRef.value || !props.text) return
|
||||
|
||||
// Wait for DOM to be fully updated
|
||||
await nextTick()
|
||||
|
||||
const el = textRef.value
|
||||
@@ -174,7 +173,6 @@ onUnmounted(() => {
|
||||
cleanup()
|
||||
})
|
||||
|
||||
// Watch for prop changes and reinitialize animation
|
||||
watch(
|
||||
[
|
||||
() => props.text,
|
||||
|
||||
Reference in New Issue
Block a user