Skip to content

Commit

Permalink
fix: aos fires once
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jan 18, 2025
1 parent 0382f67 commit 6997acf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import AOS from "aos";
import "aos/dist/aos.css";

import AOS from "aos"
import 'aos/dist/aos.css';

AOS.init();
AOS.init({
once: true // Ensures animations fire only once
});

0 comments on commit 6997acf

Please sign in to comment.