Rocky_Mountain_Vending/.pnpm-store/v10/files/a1/01c2d64a8fc8a9dac6c4693dd3345b0f56075aa71cbf1649e0c812d7851990ff85a3e00ca4f05ac088ab4ad4f2a198bccedcf9a4c9f9556a4fc20babcbbc3a
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
748 B
Text

'use client';
import React, { useContext } from 'react';
// Use `React.createContext` to avoid errors from the RSC checks because
// it can't be imported directly in Server Components:
//
// import { createContext } from 'react'
//
// More info: https://github.com/vercel/next.js/pull/40686
export const ServerInsertedHTMLContext = /*#__PURE__*/ React.createContext(null);
export function useServerInsertedHTML(callback) {
const addInsertedServerHTMLCallback = useContext(ServerInsertedHTMLContext);
// Should have no effects on client where there's no flush effects provider
if (addInsertedServerHTMLCallback) {
addInsertedServerHTMLCallback(callback);
}
}
//# sourceMappingURL=server-inserted-html.shared-runtime.js.map