···
console.error(res.data.error);
switch (res.data.error) {
88
-
setError("This repository has been deactivated");
88
+
setError("Deactivated");
91
-
setError("This repository has been taken down");
91
+
setError("Takendown");
94
-
setError("This repository is unreachable");
94
+
setError("Unreachable");
navigate(`/at://${params.repo}#identity`);
···
<div class="flex w-full flex-col gap-2 break-words">
148
-
<Show when={error()}>
149
-
<div class="rounded-lg bg-red-100 p-2 text-sm text-red-700 dark:bg-red-200 dark:text-red-600">
class={`dark:shadow-dark-800 dark:bg-dark-300 flex justify-between rounded-lg border-[0.5px] border-neutral-300 bg-neutral-50 px-2 py-1.5 text-sm shadow-xs dark:border-neutral-700`}
···
<RepoTab tab="backlinks" label="Backlinks" />
171
-
icon="lucide--ellipsis-vertical"
172
-
buttonClass="rounded-sm p-1"
173
-
menuClass="top-8 p-2 text-sm"
176
-
href={`/jetstream?dids=${params.repo}`}
178
-
icon="lucide--radio-tower"
180
-
<Show when={error()?.length === 0 || error() === undefined}>
182
-
label="Export Repo"
183
-
icon={downloading() ? "lucide--loader-circle animate-spin" : "lucide--download"}
184
-
onClick={() => downloadRepo()}
164
+
<div class="flex gap-1">
165
+
<Show when={error()}>
166
+
<div class="flex items-center gap-1 text-red-500 dark:text-red-400">
167
+
<span class="iconify lucide--alert-triangle"></span>
168
+
<span>{error()}</span>
173
+
icon="lucide--ellipsis-vertical"
174
+
buttonClass="rounded-sm p-1"
175
+
menuClass="top-8 p-2 text-sm"
178
+
href={`/jetstream?dids=${params.repo}`}
180
+
icon="lucide--radio-tower"
182
+
<Show when={error()?.length === 0 || error() === undefined}>
184
+
label="Export Repo"
185
+
icon={downloading() ? "lucide--loader-circle animate-spin" : "lucide--download"}
186
+
onClick={() => downloadRepo()}
<div class="flex w-full flex-col gap-2 px-2">
<Show when={location.hash === "#logs"}>