update demo-sliding-profile,

This commit is contained in:
louiscklaw
2025-06-08 19:08:01 +08:00
parent 15f8d2e6aa
commit bc35e25616

View File

@@ -30,7 +30,7 @@ import styles from './Profile.module.scss';
const Profile = () => {
const { id } = useParams();
const router = useIonRouter();
const headingRef = useRef();
const headingRef = useRef(null);
const [slideSpace, setSlideSpace] = useState(0);
const [profile, setProfile] = useState([]);