Skip to content

Commit cb8a9ad

Browse files
committed
fix: duplicate declaration
1 parent c54d58c commit cb8a9ad

File tree

2 files changed

+10633
-2
lines changed

2 files changed

+10633
-2
lines changed

src/pages/Vip/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { useNavigate } from "react-router-dom";
33

44
import Menu from '../../components/Menu';
55
import "./index.css";
6-
import { useNavigate } from 'react-router-dom';
76

87
const Vip = () => {
98
const [isMenuVisible, setIsMenuVisible] = useState<boolean>(false)
@@ -13,7 +12,6 @@ const Vip = () => {
1312
const toggleMenu = () => {
1413
setIsMenuVisible(prevState => !prevState);
1514
}
16-
const navigate = useNavigate();
1715

1816
return (
1917
<>

0 commit comments

Comments
 (0)