Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60b484c + 69ab0db commit 18f3cf6Copy full SHA for 18f3cf6
web-app/src/containers/SelectTutorial/LoadTutorialSummary.tsx
@@ -13,9 +13,9 @@ const LoadTutorialSummary = (props: Props) => {
13
if (loading) {
14
return <Loading text="Loading tutorial summary..." />
15
}
16
- // TODO: improve error handling
17
if (error) {
18
- return <div>{JSON.stringify(error)}</div>
+ console.log(error)
+ return <div>Error loading summary</div>
19
20
if (!data) {
21
return <div>No data returned for tutorial</div>
0 commit comments