diff --git a/src/lib/components/accounts/Unverified.svelte b/src/lib/components/accounts/Unverified.svelte index fd5314909..a5d7e42cf 100644 --- a/src/lib/components/accounts/Unverified.svelte +++ b/src/lib/components/accounts/Unverified.svelte @@ -17,7 +17,7 @@ a user who is logged in but has `verified_journalist = false`. } from "@/config/config.js"; import { isOrg } from "$lib/api/accounts"; - export let user: Nullable; + export let user: Nullable = null; const FAQ = "https://www.documentcloud.org/help/faq#verification"; diff --git a/src/lib/components/documents/ResultsList.svelte b/src/lib/components/documents/ResultsList.svelte index 864131c76..c850b756b 100644 --- a/src/lib/components/documents/ResultsList.svelte +++ b/src/lib/components/documents/ResultsList.svelte @@ -102,9 +102,9 @@
- - {#each results as document (document.id)} - + + + {#each results as document (document.id)} {#if !embed} - {:else} - -

{$_("noDocuments.noSearchResults")}

-

{$_("noDocuments.queryNoResults")}

-
- {/each} + {:else} + +

{$_("noDocuments.noSearchResults")}

+

{$_("noDocuments.queryNoResults")}

+
+ {/each} +
+
{#if next}