chore(scaffolder): error state when the api doesn't load

This commit is contained in:
blam
2020-07-19 23:15:39 +02:00
parent 5c3c81517d
commit ed6d1cf9e2
@@ -100,6 +100,11 @@ export const ScaffolderPage: React.FC<{}> = () => {
</Link>
</Typography>
)}
{error && (
<Typography variant="body2">
Oops! Something went wrong loading the templates: {error.message}
</Typography>
)}
<Grid container>
{templates &&
templates?.length > 0 &&