diff --git a/src/lib/components/organisms/NavBar.svelte b/src/lib/components/organisms/NavBar.svelte index b7d9011..b5205f3 100644 --- a/src/lib/components/organisms/NavBar.svelte +++ b/src/lib/components/organisms/NavBar.svelte @@ -2,17 +2,15 @@ import Banner from '$components/organisms/Banner.svelte'; import Button from '$components/atoms/Button.svelte'; import api from '$api'; - - const statusUrl = 'https://status.revanced.app/'; // TODO: replace with env variable {#await api.general.ping() then apiUp} {#if !apiUp} The API is currently unresponsive and some services may not work correctly. - {#if statusUrl} - Check the for updates. - {/if} + {#await api.general.getAbout() then data} + Check the for updates. + {/await} {/if} {/await}