mirror of
https://github.com/luxfhe/example-blind-auction-v2.git
synced 2026-10-30 18:13:35 +00:00
9 lines
163 B
TypeScript
9 lines
163 B
TypeScript
export default function useCommon() {
|
|
return { navigateToPage }
|
|
}
|
|
|
|
const router = useRouter();
|
|
|
|
const navigateToPage = (page: string) => {
|
|
router.push(page);
|
|
} |