using ArticleProvider (with default values for now)

This commit is contained in:
2025-10-28 22:44:43 +05:30
parent a5749d2bc2
commit 38fde1e35d
4 changed files with 212 additions and 157 deletions

View File

@@ -1,12 +1,15 @@
import * as React from 'react';
import { createRoot } from 'react-dom/client';
import Blog from './blog/Blog';
import { ArticleProvider } from './blog/providers/Article';
const rootElement = document.getElementById('root');
const root = createRoot(rootElement);
root.render(
<React.StrictMode>
<Blog />
<ArticleProvider>
<Blog />
</ArticleProvider>
</React.StrictMode>,
);