Rocky_Mountain_Vending/.pnpm-store/v10/files/5b/b9d05502e348e18f0b20cc5801a99f46536af5a3b7ac73180264ef2915bf03d998e6c4236b25ff83ea5490b4eb94f0eb9590b55ab4e9c03ded9107b7fb1529
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

20 lines
No EOL
1.3 KiB
Text

import { jsx as _jsx } from "react/jsx-runtime";
import ClientLinkComponent, { useLinkStatus } from './link';
export default function LinkComponent(props) {
const isLegacyBehavior = props.legacyBehavior;
const childIsHostComponent = typeof props.children === 'string' || typeof props.children === 'number' || typeof props.children?.type === 'string';
const childIsClientComponent = props.children?.type?.$$typeof === Symbol.for('react.client.reference');
if (isLegacyBehavior && !childIsHostComponent && !childIsClientComponent) {
if (props.children?.type?.$$typeof === Symbol.for('react.lazy')) {
console.error(`Using a Lazy Component as a direct child of \`<Link legacyBehavior>\` from a Server Component is not supported. If you need legacyBehavior, wrap your Lazy Component in a Client Component that renders the Link's \`<a>\` tag.`);
} else {
console.error(`Using a Server Component as a direct child of \`<Link legacyBehavior>\` is not supported. If you need legacyBehavior, wrap your Server Component in a Client Component that renders the Link's \`<a>\` tag.`);
}
}
return /*#__PURE__*/ _jsx(ClientLinkComponent, {
...props
});
}
export { useLinkStatus };
//# sourceMappingURL=link.react-server.js.map