Initial commit: Craft2Prints with Stages 1-3

This commit is contained in:
Andymick
2026-07-15 18:09:59 +01:00
commit 41937ffc15
158 changed files with 16054 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
'use client';
import { useEffect } from 'react';
import { useCart } from '@/lib/cartStore';
export default function ClearCartOnMount() {
const clear = useCart((s) => s.clear);
useEffect(() => {
clear();
}, [clear]);
return null;
}