useRouter is a React Hook, meaning it cannot be used with classes. You can either use withRouter or wrap your class in a function component.
確定! 回上一頁