remove workclones onMount
This commit is contained in:
parent
bc06f91b3e
commit
eb7fd9b56e
1 changed files with 3 additions and 1 deletions
|
|
@ -9,7 +9,9 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
|
document.querySelectorAll('.workclone')?.forEach(clone => {
|
||||||
|
clone.remove();
|
||||||
|
})
|
||||||
gsap.registerPlugin(SplitText);
|
gsap.registerPlugin(SplitText);
|
||||||
|
|
||||||
let isZoomed = false;
|
let isZoomed = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue