feat: display API errors

This commit is contained in:
2023-05-08 18:04:30 +02:00
parent c026ed4c6f
commit 89d2e1b9b3
5 changed files with 42 additions and 10 deletions

View File

@@ -1,5 +1,7 @@
<template>
<div class="githubRepo flex-col flex-space-between gap-1rem rounded-corners">
<div
class="githubRepo flex-col flex-space-between gap-1rem rounded-corners card-width"
>
<ApiLoader
:cache-name="repoName()"
:url="fetchUrl"
@@ -51,7 +53,6 @@ const repository: Ref<GithubRepo> = ref(null);
@import '../../styles/classes.less';
.githubRepo {
max-width: 35rem;
padding: 2rem;
background-color: @nord4;
align-self: auto;