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>
20 lines
No EOL
325 B
Text
20 lines
No EOL
325 B
Text
"use strict";
|
|
|
|
exports.__esModule = true;
|
|
exports.default = remove;
|
|
|
|
/**
|
|
* Removes a given node from the DOM.
|
|
*
|
|
* @param node the node to remove
|
|
*/
|
|
function remove(node) {
|
|
if (node && node.parentNode) {
|
|
node.parentNode.removeChild(node);
|
|
return node;
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
module.exports = exports["default"]; |