fix(build): resolve store binding and linter warnings to harden build stability
- Removed invalid two-way bindings to read-only Dexie observables in the test page - Fixed 'state_referenced_locally' warning in Field Editor by refactoring draft_value initialization - Cleaned up empty else block in session list to resolve Vite build warning - Verified successful production build and clean 'npm run check' output
This commit is contained in:
@@ -97,7 +97,7 @@ let {
|
||||
display_absolute_edit = false,
|
||||
display_modal = true,
|
||||
modal_blocking = false,
|
||||
modal_placement = 'center' as 'center' | 'above' | 'below' | 'left' | 'right',
|
||||
modal_placement = 'center',
|
||||
placeholder = 'Enter value...',
|
||||
class_li = '',
|
||||
textarea_rows = 4,
|
||||
@@ -163,7 +163,7 @@ function coerce_select_value(raw: string, reference: T): any {
|
||||
// Internal State
|
||||
let patch_status = $state<'idle' | 'processing' | 'success' | 'error'>('idle');
|
||||
let error_message = $state('');
|
||||
let draft_value = $state(to_input_value(current_value, field_type));
|
||||
let draft_value = $state<any>(null);
|
||||
let input_ref = $state<HTMLElement | null>(null);
|
||||
let dialog_ref = $state<HTMLDialogElement | null>(null);
|
||||
let trigger_ref = $state<HTMLElement | null>(null);
|
||||
|
||||
Reference in New Issue
Block a user