Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandler-umass committed Oct 2, 2024
1 parent 551f173 commit 19afd43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Legend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function Legend(props: LegendProps) {
// check if response worked (no 404 errors etc...)
throw new Error(response.statusText);
}
const d = response.json(); // get JSON fr:om the response
const d = response.json(); // get JSON from the response
return d; // returns a promise, which resolves to this data value
};

Expand Down

0 comments on commit 19afd43

Please sign in to comment.