Skip to content

Commit bb5fed8

Browse files
committed
fix: disable infinite animation loop on Learn button (#614)
Signed-off-by: Shrija Gangapuram <156319909+shriija@users.noreply.github.com>
1 parent 6c2442f commit bb5fed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ function Navbar() {
198198
const location = useLocation();
199199

200200
const props = useSpring({
201-
loop: true,
201+
loop: false,
202202
from: { opacity: 0.5, boxShadow: "0px 0px 0px rgba(255, 255, 255, 0)" },
203203
to: [
204204
{ opacity: 1, boxShadow: "0px 0px 5px rgba(255, 255, 255, 1)" },

0 commit comments

Comments
 (0)