Rocky_Mountain_Vending/.pnpm-store/v10/files/73/cbd7d2dfc585afa22988940ff94c2be8a854d46f4a24604a7c2b1550515bd8754ce864f98c339886fd98a004174f240e17e888015dd57c2b22fcbcfa2a3d8e
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

18 lines
No EOL
688 B
Text

import { createContext, useContext } from 'react';
export const HtmlContext = createContext(undefined);
if (process.env.NODE_ENV !== 'production') {
HtmlContext.displayName = 'HtmlContext';
}
export function useHtmlContext() {
const context = useContext(HtmlContext);
if (!context) {
throw Object.defineProperty(new Error(`<Html> should not be imported outside of pages/_document.\n` + 'Read more: https://nextjs.org/docs/messages/no-document-import-in-page'), "__NEXT_ERROR_CODE", {
value: "E67",
enumerable: false,
configurable: true
});
}
return context;
}
//# sourceMappingURL=html-context.shared-runtime.js.map