Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
andresnowak committed Dec 16, 2024
1 parent 024bae4 commit 329f93b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/data_charts.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function TimeChartComponent() {

useEffect(() => {
const loadData = async () => {
const response = await fetch("/data.csv");
const response = await fetch("./data.csv");
const reader = response.body.getReader();
const result = await reader.read();
const decoder = new TextDecoder("utf-8");
Expand Down Expand Up @@ -118,7 +118,7 @@ function TimeChartComponent() {
function ChartComponent() {
useEffect(() => {
const loadData = async () => {
const response = await fetch("/data.csv");
const response = await fetch("./data.csv");
const reader = response.body.getReader();
const result = await reader.read();
const decoder = new TextDecoder("utf-8");
Expand Down

0 comments on commit 329f93b

Please sign in to comment.