refactor: change variable names

This commit is contained in:
tglide
2023-02-27 10:09:38 +00:00
parent 85ce9ee147
commit 2e198c7262
@@ -12,7 +12,7 @@ let client = Client()
.setProject("${project}")
.setSelfSigned(status: true) // For self signed certificates, only use for development`;
let dismissedAlert = false;
let showAlert = true;
</script>
<WizardStep>
@@ -28,12 +28,12 @@ let client = Client()
Before sending any API calls to your new Appwrite project, make sure your device or emulator
has network access to your Appwrite project's hostname or IP address.
</p>
{#if !dismissedAlert}
{#if showAlert}
<div class="common-section">
<Alert
type="info"
dismissible={MODE === Mode.CLOUD}
on:dismiss={() => (dismissedAlert = true)}>
on:dismiss={() => (showAlert = false)}>
<svelte:fragment slot="title">For self-hosted solutions</svelte:fragment>
When connecting to a locally hosted Appwrite project from an emulator or a mobile device,
you should use the private IP of the device running your Appwrite project as the hostname