Some checks failed
🧪 CI (QA) / 🧪 Quality Assurance (push) Failing after 1m3s
- Restructure to pnpm monorepo (site moved to apps/web) - Integrate @mintel/tsconfig, @mintel/eslint-config, @mintel/husky-config - Implement Docker service architecture (Varnish, Directus, Gatekeeper) - Setup environment-aware Gitea Actions deployment
21 lines
481 B
TypeScript
21 lines
481 B
TypeScript
import React from 'react';
|
|
|
|
export const useRouter = () => ({
|
|
push: () => { },
|
|
replace: () => { },
|
|
prefetch: () => { },
|
|
back: () => { },
|
|
});
|
|
|
|
export const useSearchParams = () => {
|
|
return new URLSearchParams();
|
|
};
|
|
|
|
export const usePathname = () => '/';
|
|
|
|
export const Link: React.FC<{ href: string; children: React.ReactNode; className?: string }> = ({ children, className }) => {
|
|
return <div className={className}>{children}</div>;
|
|
};
|
|
|
|
export default Link;
|