diff --git a/src/main.rs b/src/main.rs index 73066cf..902779f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -433,10 +433,7 @@ fn App() -> impl IntoView { - + } } diff --git a/src/settings.rs b/src/settings.rs index 1977446..af8508e 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -25,11 +25,8 @@ fn save_to_storage(key: &str, value: &str) { } #[component] -pub fn Settings( - show: ReadSignal, - set_show: WriteSignal, -) -> impl IntoView { - let (anthropic_key, set_anthropic_key) = signal(get_stored_value(ANTHROPIC_API_KEY, "")); +pub fn Settings(show: ReadSignal, set_show: WriteSignal) -> impl IntoView { + let (anthropic_key, set_anthropic_key) = signal(get_stored_value(ANTHROPIC_API_KEY, "")); let (s3_endpoint, set_s3_endpoint) = signal(get_stored_value( S3_ENDPOINT_KEY, "https://s3.amazonaws.com", @@ -93,7 +90,6 @@ pub fn Settings( class="w-full px-3 py-2 border border-gray-300 rounded-md" /> - // S3 Configuration Section