-
+
{routes.map((e) => (
{
} />
-
+
+
+
);
};
diff --git a/src/pages/Welcome.tsx b/src/pages/Welcome.tsx
index 20b699e..74a466e 100644
--- a/src/pages/Welcome.tsx
+++ b/src/pages/Welcome.tsx
@@ -6,12 +6,14 @@ import { Link } from 'react-router-dom';
import { connectWallet, disconnectWallet } from 'slices/web3Slice';
import { AppDispatch } from 'slices/store';
import { trimAddress } from 'utils/helper';
+import BlogComponent from 'components/BlogComponent';
interface IWelcome {}
const Welcome = (props: IWelcome) => {
const dispatch = useDispatch
();
const account = useSelector(state => state.web3.selectedAddress);
+ const blogs = useSelector(state => state.db.Blogs) || [];
const onConnect = () => {
dispatch(account ? disconnectWallet() : connectWallet());
@@ -38,6 +40,10 @@ const Welcome = (props: IWelcome) => {