fix: update @appwrite.io/console dependency version and optimize bigint.svelte component

This commit is contained in:
ArnabChatterjee20k
2026-05-07 12:33:24 +05:30
parent f2e92d1504
commit 46858fbff3
3 changed files with 8 additions and 4 deletions
@@ -47,6 +47,7 @@
</script>
<script lang="ts">
import { untrack } from 'svelte';
import { Layout } from '@appwrite.io/pink-svelte';
import { InputNumber } from '$lib/elements/forms';
import { createConservative } from '$lib/helpers/stores';
@@ -93,8 +94,11 @@
listen(data);
});
// untrack: handleDefaultState reads and writes data.default, which would make
// this effect depend on the state it writes and trigger an infinite update loop.
$effect(() => {
handleDefaultState($required || $array);
const hideDefault = $required || $array;
untrack(() => handleDefaultState(hideDefault));
});
</script>