Before the hero.js file was look like this below:
const tl = gsap.timeline({
defaults: { duration: 0.75, ease: "Power3.easeOut" },
});
tl.fromTo('.hero-img', {scale: 1.3})
I noticed in this tl.fromTo i mentioned the from (Scale: 1.3) but i Forget to add To (Scale: 1), once i put the code like this below, My problem solved
const tl = gsap.timeline({
defaults: { duration: 0.75, ease: "Power3.easeOut" },
});
tl.fromTo('.hero-img', {scale: 1.3}, {scale: 1})