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.
1 parent 60b484c commit 69ab0dbCopy full SHA for 69ab0db
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