File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 88
99| Statements | Branches | Functions | Lines |
1010| ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
11- | ![ Statements] ( https://img.shields.io/badge/statements-87.96%25-yellow.svg?style=flat&logo=jest ) | ![ Branches] ( https://img.shields.io/badge/branches-73.68 %25-red.svg?style=flat&logo=jest ) | ![ Functions] ( https://img.shields.io/badge/functions-81.81%25-yellow.svg?style=flat&logo=jest ) | ![ Lines] ( https://img.shields.io/badge/lines-88.65%25-yellow.svg?style=flat&logo=jest ) |
11+ | ![ Statements] ( https://img.shields.io/badge/statements-87.96%25-yellow.svg?style=flat&logo=jest ) | ![ Branches] ( https://img.shields.io/badge/branches-72.5 %25-red.svg?style=flat&logo=jest ) | ![ Functions] ( https://img.shields.io/badge/functions-81.81%25-yellow.svg?style=flat&logo=jest ) | ![ Lines] ( https://img.shields.io/badge/lines-88.65%25-yellow.svg?style=flat&logo=jest ) |
1212
1313## Table of Contents
1414
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ export const jsDownload = (
121121export default function useDownloader (
122122 options : UseDownloaderOptions = { }
123123) : UseDownloader {
124- const debugMode = process . env . REACT_APP_DEBUG_MODE ;
124+ const debugMode = process ? ! ! process ? .env ? .REACT_APP_DEBUG_MODE : false ;
125125
126126 const [ elapsed , setElapsed ] = useState ( 0 ) ;
127127 const [ percentage , setPercentage ] = useState ( 0 ) ;
You can’t perform that action at this time.
0 commit comments