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>
13 lines
No EOL
294 B
Text
13 lines
No EOL
294 B
Text
let errorOnce = (_)=>{};
|
|
if (process.env.NODE_ENV !== 'production') {
|
|
const errors = new Set();
|
|
errorOnce = (msg)=>{
|
|
if (!errors.has(msg)) {
|
|
console.error(msg);
|
|
}
|
|
errors.add(msg);
|
|
};
|
|
}
|
|
export { errorOnce };
|
|
|
|
//# sourceMappingURL=error-once.js.map |