From 26053a5fd87a7c2d5939c13f1b4b350ea144f113 Mon Sep 17 00:00:00 2001 From: filipriec Date: Wed, 20 Aug 2025 11:36:56 +0200 Subject: [PATCH] fixes 9 --- client/src/components/admin/add_table.rs | 1 - client/src/components/auth/login.rs | 1 - client/src/components/auth/register.rs | 4 ---- 3 files changed, 6 deletions(-) diff --git a/client/src/components/admin/add_table.rs b/client/src/components/admin/add_table.rs index a74e9f7..d65641f 100644 --- a/client/src/components/admin/add_table.rs +++ b/client/src/components/admin/add_table.rs @@ -22,7 +22,6 @@ pub fn render_add_table( app_state: &AppState, add_table_state: &mut AddTableState, is_edit_mode: bool, // Determines if canvas inputs are in edit mode - highlight_state: &HighlightState, // For text highlighting in canvas ) { // --- Configuration --- // Threshold width to switch between wide and narrow layouts diff --git a/client/src/components/auth/login.rs b/client/src/components/auth/login.rs index 7e3ff2f..263ff1d 100644 --- a/client/src/components/auth/login.rs +++ b/client/src/components/auth/login.rs @@ -28,7 +28,6 @@ pub fn render_login( login_state: &LoginState, app_state: &AppState, is_edit_mode: bool, - highlight_state: &HighlightState, ) { // Main container let block = Block::default() diff --git a/client/src/components/auth/register.rs b/client/src/components/auth/register.rs index 1c7f8fe..c8401fb 100644 --- a/client/src/components/auth/register.rs +++ b/client/src/components/auth/register.rs @@ -33,7 +33,6 @@ pub fn render_register( state: &RegisterState, app_state: &AppState, is_edit_mode: bool, - highlight_state: &HighlightState, ) { let block = Block::default() .borders(Borders::ALL) @@ -59,9 +58,6 @@ pub fn render_register( ]) .split(inner_area); - // --- FORM RENDERING (Using canvas library directly) --- - let canvas_highlight_state = convert_highlight_state(highlight_state); - // Wrap RegisterState in FormEditor let editor = FormEditor::new(state.clone());