Skip to content

Commit

Permalink
Merge pull request #98 from Oceans-1876/release-1.0.1
Browse files Browse the repository at this point in the history
Release 1.0.1
  • Loading branch information
Rashmil-1999 authored Jan 24, 2024
2 parents 78e06d2 + 1619027 commit bd1f275
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.1] - 2024-01-17

### Fixed

- Error in displaying temperatures at depths in station details. [#97](https://github.com/Oceans-1876/challenger-portal/issues/97)

## [1.0.0] - 2023-12-04

### Added
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "challenger-portal",
"version": "1.0.0",
"version": "1.0.1",
"description": "",
"repository": "https://github.com/Oceans-1876/challenger-portal",
"main": "src/app.tsx",
Expand Down
5 changes: 3 additions & 2 deletions src/components/Explore/LeftSidebar/Station/Environment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ interface Props {

const Environment = ({ station }: Props) => {
const { tempToUnit, depthToUnit } = React.useContext(DataStateContext);
const tempFromUnit = 'C'; // ? Should this be 'C'?
const tempFromUnit = 'C';
const tempDepthFromUnit = 'F';
const depthFromUnit = 'fathom';

return (
Expand Down Expand Up @@ -103,7 +104,7 @@ const Environment = ({ station }: Props) => {
1
);
const temp = convertUnit(
tempFromUnit as TemperatureUnits,
tempDepthFromUnit as TemperatureUnits,
tempToUnit as TemperatureUnits,
_temp,
3
Expand Down

0 comments on commit bd1f275

Please sign in to comment.