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>
15 lines
No EOL
405 B
Text
15 lines
No EOL
405 B
Text
/**
|
|
* Converts the query into params.
|
|
*
|
|
* @param query the query to convert to params
|
|
* @returns the params
|
|
*/ export function parsedUrlQueryToParams(query) {
|
|
const params = {};
|
|
for (const [key, value] of Object.entries(query)){
|
|
if (typeof value === 'undefined') continue;
|
|
params[key] = value;
|
|
}
|
|
return params;
|
|
}
|
|
|
|
//# sourceMappingURL=parsed-url-query-to-params.js.map |