Skip to content

Convert getErrorElement() to React Component #98

@zghera

Description

@zghera

Issue summary

Convert the function getErrorElement in trips-container.js to component in the Error directory once PR #77 is merged.

Expected behavior

When an error occurs in grabbing the trips container, set the state of trips to a new error component created from getErrorElement.

Actual behavior

When an error occurs in grabbing the trips container, set the state of of trips to the result of the function call to getErrorElement.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions