diff options
Diffstat (limited to 'src/components/Content/Content.tsx')
| -rw-r--r-- | src/components/Content/Content.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/components/Content/Content.tsx b/src/components/Content/Content.tsx index 3d747b2..c7a5f58 100644 --- a/src/components/Content/Content.tsx +++ b/src/components/Content/Content.tsx | |||
| @@ -7,7 +7,6 @@ import {Button, Col, Container, Row} from "react-bootstrap"; | |||
| 7 | import {DarkModeContext} from "../../contexts/DarkMode"; | 7 | import {DarkModeContext} from "../../contexts/DarkMode"; |
| 8 | 8 | ||
| 9 | function getHeader(headers: Headers, key: string, unit?: string): string | null { | 9 | function getHeader(headers: Headers, key: string, unit?: string): string | null { |
| 10 | console.log(headers, key) | ||
| 11 | try { | 10 | try { |
| 12 | const [_, value] = headers.find(([headerKey]) => headerKey.toLowerCase() === key.toLowerCase()) | 11 | const [_, value] = headers.find(([headerKey]) => headerKey.toLowerCase() === key.toLowerCase()) |
| 13 | return unit !== undefined | 12 | return unit !== undefined |
