Skip to content

Commit

Permalink
FIX: чинит графики
Browse files Browse the repository at this point in the history
  • Loading branch information
owlscatcher committed Feb 20, 2024
1 parent 957d4fa commit 40d91f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function ModalComponent({ selectedId, show, pointName, handleClos
const [chartData, setChartData] = useState([]);

useEffect(() => {
ApiHelper(`http://0.0.0.0/api/v1/histories/${selectedId}`).then((result) => {
ApiHelper(`/api/v1/histories/${selectedId}`).then((result) => {
setChartData(result);
});
}, [selectedId]);
Expand Down

0 comments on commit 40d91f5

Please sign in to comment.