cleaning unecessary code
This commit is contained in:
parent
75d5bb1da3
commit
9adc3194ab
10
src/App.js
10
src/App.js
|
|
@ -20,16 +20,6 @@ import React, { useEffect, useRef } from "react";
|
|||
function App() {
|
||||
const location = useLocation();
|
||||
|
||||
// const playerRef = useRef(Lottie);
|
||||
|
||||
// const playAnimation = () => {
|
||||
// playerRef.current.goToAndPlay(0);
|
||||
// };
|
||||
|
||||
// useEffect(() => {
|
||||
// playAnimation();
|
||||
// }, [location]);
|
||||
|
||||
return (
|
||||
<>
|
||||
{/* <button onClick={playAnimation}>qsdqsd</button> */}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user