Buckets:
Quantumbraid/trainingdata / ui /node_modules /react-zoom-pan-pinch /src /hooks /use-transform-context.tsx
| import { useContext } from "react"; | |
| import { Context } from "components"; | |
| export const useTransformContext = () => { | |
| const libraryContext = useContext(Context); | |
| if (!libraryContext) { | |
| throw new Error("Transform context must be placed inside TransformWrapper"); | |
| } | |
| return libraryContext; | |
| }; | |
Xet Storage Details
- Size:
- 305 Bytes
- Xet hash:
- 324ec328193ad7f8e36bc4cf4f87be96787be18bf0ac1028acb814c765c5b479
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.