From a19d3f00dd84cc69441fe0aa57b8d94935bb203d Mon Sep 17 00:00:00 2001 From: Harsh Mahajan <127186841+HarshMN2345@users.noreply.github.com> Date: Mon, 29 Sep 2025 18:55:17 +0530 Subject: [PATCH] target ID binding and error variable typing --- .../auth/user-[user]/targets/create.svelte | 14 ++++++-------- .../messaging/topics/create.svelte | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/targets/create.svelte b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/targets/create.svelte index 8981a2f17..820e71cbb 100644 --- a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/targets/create.svelte +++ b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/targets/create.svelte @@ -4,7 +4,7 @@ import { Submit, trackEvent, trackError } from '$lib/actions/analytics'; import { Modal, CustomId } from '$lib/components'; import { Dependencies } from '$lib/constants'; - import { Badge, Icon } from '@appwrite.io/pink-svelte'; + import { Tag, Icon } from '@appwrite.io/pink-svelte'; import { IconPencil } from '@appwrite.io/pink-icons-svelte'; import { Button, InputText, InputSelect, InputPhone } from '$lib/elements/forms'; import InputEmail from '$lib/elements/forms/inputEmail.svelte'; @@ -18,7 +18,7 @@ let identifier = ''; let name = ''; let providerId = ''; - let id: string = null; + let id: string | null = null; let showCustomId = false; const providerTypeOptions = [ @@ -115,12 +115,10 @@ {#if !showCustomId}