Closed ashishjur closed 4 years ago
I'm working on similar issues in rest of the stories. Some places it's used in callbacks. I'll keep the log there. In other places where it's just for logging veriable/message, I'll remove the use of log.
@ashishjur pull request #88 is merged into feature/connex
Function log is used in ContractsTable.stories.js but not imported. Also, it's the same issue in 25 more files.
Expected Behavior
The story should render without error.
Current Behavior
Throws
log is not defined
error.Possible Solution
Import
log
fromutls/helpers
.Steps to Reproduce
Environment: Dev
http://localhost:9009/?path=/story/contractstable--no-contracts
Context (Environment)
Branch
feature/connex
at commit 9be4bb7.Possible Implementation
Add
import { log } from "../../../utils/helpers";
to ContractTables.stories.js