Rocky_Mountain_Vending/.pnpm-store/v10/files/d0/b1e82f97623459ad79fec44a05c334a98f0a5b0c151d1cf5cdaadd1044228d13bc5cabe979f40f392db42318060a285e4033a21cdeb9e89e0ffff708c21fa3
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

16 lines
437 B
Text

// packages/react/use-previous/src/usePrevious.tsx
import * as React from "react";
function usePrevious(value) {
const ref = React.useRef({ value, previous: value });
return React.useMemo(() => {
if (ref.current.value !== value) {
ref.current.previous = ref.current.value;
ref.current.value = value;
}
return ref.current.previous;
}, [value]);
}
export {
usePrevious
};
//# sourceMappingURL=index.mjs.map