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>
3 lines
273 B
Text
3 lines
273 B
Text
import { fromStatic as convertToProvider } from "@smithy/property-provider";
|
|
const isFunction = (func) => typeof func === "function";
|
|
export const fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : convertToProvider(defaultValue);
|