change structure bump version

This commit is contained in:
2026-04-26 23:34:25 +02:00
parent b522fd3127
commit 58759b0a2d
16 changed files with 23 additions and 19 deletions
+16
View File
@@ -0,0 +1,16 @@
import { createContext, useContext } from "react";
const CardDepthContext = createContext(0);
export function useCardDepth() {
return useContext(CardDepthContext);
}
export function CardDepthProvider({ children }: { children: React.ReactNode }) {
const depth = useCardDepth();
return (
<CardDepthContext.Provider value={depth + 1}>
{children}
</CardDepthContext.Provider>
);
}