Add login, reg, cart, newsletter und access to small batch releases

This commit is contained in:
hasicicsalih committed 2026-04-17 15:05:45 +02:00
1 parent 414967441a
commit fb801e3752
30 files changed
+2979 -246

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import { useContext } from "react";
import { ShopContext } from "./ShopContextBase";
export const useShop = () => {
const value = useContext(ShopContext);
if (!value) {
throw new Error("useShop must be used inside ShopProvider.");
}
return value;
};