Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Show loading in resolver query
Alexis Sellier committed 4 years ago
commit e7aa71edd1f060b433ed986ec6d0d09b64b9018a
parent 08bf1e8dbbc5ac908c49f48d39d414dcbd01b389
1 file changed +4 -1
modified src/base/resolver/Query.svelte
@@ -5,6 +5,7 @@
  import type { Config } from '@app/config';
  import * as utils from '@app/utils';
  import Error from '@app/Error.svelte';
+
  import Loading from '@app/Loading.svelte';

  export let config: Config;
  export let query: string | null;
@@ -40,10 +41,12 @@
  });
</script>

-
<main>
+
<main class="centered">
  {#if error}
    <Error on:close={() => navigate('/')}>
      Invalid query string “{query}”
    </Error>
+
  {:else}
+
    <Loading center />
  {/if}
</main>