Skip to content

Commit

Permalink
removed node map from branch because of type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
blockchainTrucker committed Dec 17, 2024
1 parent b20be25 commit ea7016f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 85 deletions.
76 changes: 0 additions & 76 deletions sub-components/dashboard/analytics/MapChart.tsx

This file was deleted.

7 changes: 1 addition & 6 deletions sub-components/dashboard/analytics/ResourcesLeased.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Row, Col, Card, Modal } from "react-bootstrap";
import { Fragment, useState } from "react";
import MapChart from "./MapChart";
import DeviceMix from "./DeviceMix";

const ResourcesLeased: React.FC = () => {
Expand All @@ -12,11 +11,7 @@ const ResourcesLeased: React.FC = () => {
<h2 className="display-7 text-white">Resources Leased</h2>
<Col style={{ maxWidth: "600px", minWidth: "300px" }} className="mb-4">
<DeviceMix setModal={setModal} />
</Col>

<Col style={{ maxWidth: "600px", minWidth: "300px" }} className="mb-4">
{/* <MapChart setModal={setModal} /> */}
</Col>
</Col>{" "}
</Row>
<Modal show={modal} onHide={() => setModal(false)}>
<Modal.Header closeButton />
Expand Down
11 changes: 8 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2906,6 +2906,11 @@
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.14.tgz#1433419d73b2a7ebfc6918dcefd2ec0d5cd698f2"
integrity sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==

"@types/react-dom@18":
version "18.3.5"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.3.5.tgz#45f9f87398c5dcea085b715c58ddcf1faf65f716"
integrity sha512-P4t6saawp+b/dFrUr2cvkVsfvPguwsxtH6dNIYRllMsefqFzkZk5UIjzyDOv5g1dXIPdG4Sp1yCR4Z6RCUsG/Q==

"@types/react-simple-maps@^3.0.6":
version "3.0.6"
resolved "https://registry.yarnpkg.com/@types/react-simple-maps/-/react-simple-maps-3.0.6.tgz#96728a17d3808cc17072db687b083872dc24fb26"
Expand All @@ -2928,7 +2933,7 @@
dependencies:
csstype "^3.0.2"

"@types/react@^18.2.79":
"@types/react@18":
version "18.3.17"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.17.tgz#d86ca0e081c7a5e979b7db175f9515a41038cea7"
integrity sha512-opAQ5no6LqJNo9TqnxBKsgnkIYHozW9KSTlFVoSUJYh1Fl/sswkEoqIugRSm7tbh6pABtYjGAjW+GOS23j8qbw==
Expand Down Expand Up @@ -9604,7 +9609,7 @@ react-bootstrap@^2.7.4:
uncontrollable "^7.2.1"
warning "^4.0.3"

react-dom@^18.2.0:
react-dom@18:
version "18.3.1"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4"
integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==
Expand Down Expand Up @@ -9698,7 +9703,7 @@ react-transition-group@^4.4.5:
loose-envify "^1.4.0"
prop-types "^15.6.2"

react@^18.2.0:
react@18:
version "18.3.1"
resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891"
integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==
Expand Down

0 comments on commit ea7016f

Please sign in to comment.