| 4 | import { router_item } from '../router'; |
| 5 | import { verifyToken } from '../axios'; |
| 6 | interface AuthRouterProps { |
| 7 | children: ReactNode; |
| 8 | } |
| 9 | function AuthRouter({ children }: AuthRouterProps) { |
| 10 | const navigate = useNavigate(); |
| 11 | const { pathname } = useLocation(); |
nothing calls this directly
no outgoing calls
no test coverage detected