Rocky_Mountain_Vending/.pnpm-store/v10/files/ee/af2df5607570c3954552f5494c53bea2d0093ffc626473a27b4299dbf9d3392d59941f3fe0d3b0cf6f35f561e2e3d0e3a1455e3cf373bbe29a65639f32d007
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

5 lines
187 B
Text

export default function ensureArray<T>(thing: Array<T> | T | undefined | null): Array<T> {
if (Array.isArray(thing)) return thing;
if (thing == undefined) return [];
return [thing];
}