This commit is contained in:
daniel31x13
2024-08-14 16:44:07 -04:00
parent 9cc3a7206e
commit 8031432995
19 changed files with 39 additions and 25 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ export default function Index() {
placeholderCount={1}
useData={data}
/>
{!data.isLoading && !links[0] && (
{!data.isLoading && links && !links[0] && (
<NoLinksFound text={t("you_have_not_added_any_links")} />
)}
</div>
+1 -1
View File
@@ -53,7 +53,7 @@ export default function PinnedLinks() {
placeholderCount={1}
useData={data}
/>
{!data.isLoading && !links[0] && (
{!data.isLoading && links && !links[0] && (
<div
style={{ flex: "1 1 auto" }}
className="flex flex-col gap-2 justify-center h-full w-full mx-auto p-10"