Sube Webclient/src

This commit is contained in:
FrancoRu
2026-09-18 13:38:48 -03:00
parent 1ef9a0bd03
commit 33a2288ed0
494 changed files with 69573 additions and 0 deletions
@@ -0,0 +1,10 @@
import { useContext } from 'react';
import { BlogPostContext } from '@/modules/blogPost/context/blogPost.context';
export const useBlogPost = () => {
const context = useContext(BlogPostContext);
if (!context) {
throw new Error('useBlogPost must be used within a BlogPostProvider');
}
return context;
};