chore(scaffolder): error state when the api doesn't load
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user