Skip to content

Commit

Permalink
Merge pull request PotLock#130 from PotLock/fix/tags
Browse files Browse the repository at this point in the history
fix tags && fix Spacing on bottom
  • Loading branch information
kurodenjiro authored Jan 19, 2024
2 parents f2dc4a4 + cbf28b1 commit fcc1ede
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions apps/potlock/widget/Cart/BreakdownSummary.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const Container = styled.div`
@media screen and (max-width: 768px) {
width: 100%;
margin-bottom: 50px;
}
`;

Expand Down
7 changes: 4 additions & 3 deletions apps/potlock/widget/Components/ListSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const [displayProject, setDisplayProject] = useState([]);
const [lastNumberOfProject, setLastNumberOfProject] = useState(0);
const [searchTerm, setSearchTerm] = useState(null);
const [tagSelected, setTagSelected] = useState([]);
const [tab, setTab] = useState("DeFi");
const [tab, setTab] = useState("");
const [featuredProjects, setFeaturedProjects] = useState([
{
id: "magicbuild.near",
Expand All @@ -38,8 +38,8 @@ const [featuredProjects, setFeaturedProjects] = useState([
]);
const [tagsList, setTagsList] = useState([
{
label: "DeFi",
value: "defi",
label: "Desci",
value: "de-sci",
selected: false,
},
{
Expand Down Expand Up @@ -233,6 +233,7 @@ const searchByWords = (projects, searchTerm) => {
let alldata = [];
dataArr.forEach((item) => {
const data = Social.getr(`${item.id}/profile`);
console.log("data", data.category);
alldata.push(data);
if (data) {
if (
Expand Down

0 comments on commit fcc1ede

Please sign in to comment.