Rocky_Mountain_Vending/.pnpm-store/v10/files/7d/a847b8067c973a8be691c2ac9e2e2f9f9b4811d1109093e75a5b854253189c8de9f9c9a627259bb1e38ab9a0cfd4498825f947ed959150b902bcd344e3e8ff
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

26 lines
No EOL
1.1 KiB
Text

/* eslint-disable @next/internal/no-ambiguous-jsx -- whole module is used in React Client */ // Provider for the `useServerInsertedHTML` API to register callbacks to insert
// elements into the HTML stream.
import { jsx as _jsx } from "react/jsx-runtime";
import * as ReactClient from 'react';
import { ServerInsertedHTMLContext } from '../../shared/lib/server-inserted-html.shared-runtime';
export function createServerInsertedHTML() {
const serverInsertedHTMLCallbacks = [];
const addInsertedHtml = (handler)=>{
serverInsertedHTMLCallbacks.push(handler);
};
return {
ServerInsertedHTMLProvider ({ children }) {
return /*#__PURE__*/ _jsx(ServerInsertedHTMLContext.Provider, {
value: addInsertedHtml,
children: children
});
},
renderServerInsertedHTML () {
return serverInsertedHTMLCallbacks.map((callback, index)=>/*#__PURE__*/ _jsx(ReactClient.Fragment, {
children: callback()
}, '__next_server_inserted__' + index));
}
};
}
//# sourceMappingURL=server-inserted-html.js.map