- switched to useSelector

- implemented skills section
This commit is contained in:
Amruth Pillai
2020-07-08 22:26:27 +05:30
parent 70866420e5
commit a1931f5e36
23 changed files with 316 additions and 191 deletions

View File

@ -1,11 +1,9 @@
import { get } from "lodash";
import React from "react";
import Heading from "../../shared/Heading";
import List from "../lists/List";
const Social = ({ id, name, event, state }) => {
const Social = ({ id, name, event }) => {
const path = `${id}.items`;
const items = get(state, path, []);
return (
<section>
@ -13,7 +11,6 @@ const Social = ({ id, name, event, state }) => {
<List
path={path}
items={items}
event={event}
titlePath="network"
subtitlePath="username"